diff options
author | Akshay <[email protected]> | 2021-10-23 09:46:44 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-10-23 09:46:44 +0100 |
commit | 2e7b95f22439ab51720109df37dd47a34b9e194e (patch) | |
tree | bcdd20a0bd3a7b19fed140d2fc4f782dae74d5a7 | |
parent | 05b11f14b7f4a3d8c1ab68fb0846ae881433b326 (diff) |
add flake app
-rw-r--r-- | flake.nix | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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}; |