deploy-rs: use nixpkgs version, avoid rebuilding

https://github.com/serokell/deploy-rs/pull/207
https://github.com/serokell/deploy-rs/issues/163
This commit is contained in:
teutat3s 2023-05-13 18:43:12 +02:00
parent ca5ed1ae69
commit e7ce8e1fb4
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
3 changed files with 17 additions and 7 deletions

View file

@ -54,11 +54,11 @@
"utils": "utils"
},
"locked": {
"lastModified": 1683255183,
"narHash": "sha256-UUxpb5PMkFfP2JGoPMEUvKbxv+wCkTWy4uZs1MyyCes=",
"lastModified": 1683779844,
"narHash": "sha256-sIeOU0GsCeQEn5TpqE/jFRN4EGsPsjqVRsPdrzIDABM=",
"owner": "serokell",
"repo": "deploy-rs",
"rev": "6b0b6a1c2527e8b1ef370a308b6ef8903004ac47",
"rev": "c80189917086e43d49eece2bd86f56813500a0eb",
"type": "github"
},
"original": {

View file

@ -72,7 +72,17 @@
overlays = [];
};
nixos-22-05 = {};
latest = {};
latest = {
overlays = [
deploy.overlay
(self: super: {
deploy-rs = {
inherit (inputs.latest.legacyPackages.x86_64-linux) deploy-rs;
lib = super.deploy-rs.lib;
};
})
];
};
master = {};
};
@ -183,7 +193,7 @@
profilesOrder = ["system" "direnv"];
profiles.direnv = {
user = "pub-solar";
path = deploy.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.pub-solar;
path = self.channels.latest.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.pub-solar;
};
};
powder = {
@ -192,7 +202,7 @@
profilesOrder = ["system" "direnv"];
profiles.direnv = {
user = "pub-solar";
path = deploy.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.pub-solar;
path = self.channels.latest.deploy-rs.lib.x86_64-linux.activate.home-manager self.homeConfigurationsPortable.x86_64-linux.pub-solar;
};
};
};

View file

@ -60,6 +60,6 @@ in {
]
++ lib.optionals (pkgs.stdenv.hostPlatform.isLinux && !pkgs.stdenv.buildPlatform.isDarwin) [
(devos nixos-generators)
(devos deploy-rs)
(devos deploy-rs.deploy-rs)
];
}