aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-10-23 09:46:44 +0100
committerAkshay <[email protected]>2021-10-23 09:46:44 +0100
commit2e7b95f22439ab51720109df37dd47a34b9e194e (patch)
treebcdd20a0bd3a7b19fed140d2fc4f782dae74d5a7
parent05b11f14b7f4a3d8c1ab68fb0846ae881433b326 (diff)
add flake app
-rw-r--r--flake.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index c086684..a319266 100644
--- a/flake.nix
+++ b/flake.nix
@@ -76,6 +76,12 @@
76 defaultPackage = 76 defaultPackage =
77 forAllSystems (system: self.packages."${system}".statix); 77 forAllSystems (system: self.packages."${system}".statix);
78 78
79 defaultApp = forAllSystems (system:
80 {
81 type = "app";
82 program = "${self.packages."${system}".statix}/bin/statix";
83 });
84
79 devShell = forAllSystems (system: 85 devShell = forAllSystems (system:
80 let 86 let
81 pkgs = nixpkgsFor.${system}; 87 pkgs = nixpkgsFor.${system};