1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

try out whether new krops fixes the nixpkgs rebuilding issue

This commit is contained in:
2022-02-16 09:11:10 +01:00
parent 93dd8bd702
commit 704f745f5e
2 changed files with 4 additions and 14 deletions

6
flake.lock generated
View File

@@ -46,11 +46,11 @@
]
},
"locked": {
"lastModified": 1632420452,
"narHash": "sha256-ncK6vABW/Ku9XI0kqj1otarUfblryoQzSaOCnaZ0oSs=",
"lastModified": 1644957911,
"narHash": "sha256-ggie/j7pdBqzDs4W7OiPmhqH9IGbXAbJxGqBdVxA8jA=",
"owner": "Mic92",
"repo": "krops",
"rev": "0388970c568905fedcbf429e5745aacd4f7a6633",
"rev": "86fb3d2ee94fd8306231853b323ed8804edf26ec",
"type": "github"
},
"original": {

View File

@@ -62,20 +62,10 @@
dir = toString ~/.password-store;
name = "shared";
};
nixpkgs.git = {
url = "https://github.com/NixOS/nixpkgs";
ref = nixpkgs.rev;
shallow = true;
};
nixpkgs-unstable.git = {
url = "https://github.com/NixOS/nixpkgs";
ref = nixpkgs-unstable.rev;
shallow = true;
};
} // nixpkgs.lib.mapAttrs' (name: value: {
inherit name;
value.file = toString value;
}) (nixpkgs.lib.filterAttrs (name: _: !builtins.elem name [ "nixpkgs" "nixpkgs-unstable" "flake-utils" "krops" "self" ]) inputs);
}) (nixpkgs.lib.filterAttrs (name: _: !builtins.elem name [ "flake-utils" "krops" "self" ]) inputs);
deployScriptFor = {name, host}: let inherit (import ./lib/default.nix) sshPort; in toString (krops.packages.${system}.writeDeploy "deploy-${name}" {
source = krops.lib.evalSource [ (source name) ];
target = "root@${host}:${toString sshPort}";