From 40e67f8c97d20512f3a6306bb43c1f921aa70c14 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Wed, 27 Apr 2022 18:34:53 -0400 Subject: [PATCH] Support for 'nix run' --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 951b39b..6314df8 100644 --- a/flake.nix +++ b/flake.nix @@ -76,6 +76,10 @@ # Used by `nix run ...` apps = { + default = { + type = "app"; + program = "${self.defaultPackage.${system}}/bin/haskell-template"; + }; format = inputs.lint-utils.mkApp.${system} lintSpec; };