diff options
author | Alexander Bantyev | 2022-05-26 23:45:15 +0400 |
---|---|---|
committer | GitHub | 2022-05-26 23:45:15 +0400 |
commit | 184349d8149436748986d1bdba087e4149e9c160 (patch) | |
tree | 1fe7916be119770091aca5612c5d995cd46a4f5d | |
parent | 690f698b18345d894784752b5fa93b9b8f3cc29f (diff) | |
parent | ebc457799080d43e8e22166043fc0a84c0b14d93 (diff) |
Merge pull request #159 from xvello/nix28
Update flake to support nix 2.8
Diffstat (limited to '')
-rw-r--r-- | flake.nix | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -74,7 +74,7 @@ name = base.name + "-activate-rs"; text = '' #!${final.runtimeShell} - exec ${self.defaultPackage.${system}}/bin/activate "$@" + exec ${self.packages.${system}.default}/bin/activate "$@" ''; executable = true; destination = "/activate-rs"; @@ -133,12 +133,14 @@ in { defaultPackage = self.packages."${system}".deploy-rs; + packages.default = self.packages."${system}".deploy-rs; packages.deploy-rs = pkgs.deploy-rs.deploy-rs; defaultApp = self.apps."${system}".deploy-rs; + apps.default = self.apps."${system}".deploy-rs; apps.deploy-rs = { type = "app"; - program = "${self.defaultPackage."${system}"}/bin/deploy"; + program = "${self.packages."${system}".default}/bin/deploy"; }; devShell = pkgs.mkShell { @@ -157,7 +159,7 @@ }; checks = { - deploy-rs = self.defaultPackage.${system}.overrideAttrs (super: { doCheck = true; }); + deploy-rs = self.packages.${system}.default.overrideAttrs (super: { doCheck = true; }); }; lib = pkgs.deploy-rs.lib; |