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

chore(ci): move to own file

This commit is contained in:
2021-12-31 16:05:08 +01:00
parent e9ae2ddd59
commit 749582bc9b
2 changed files with 6 additions and 78 deletions

4
ci.nix
View File

@@ -11,7 +11,7 @@ let
echo foo > ${nixpkgs.lib.escapeShellArg path}
'') paths}
'';
nixPathFor = nixpkgs.lib.concatStringsSep ":" [
nixPath = nixpkgs.lib.concatStringsSep ":" [
"nixos-config=${toString ./.}/systems/${name}/configuration.nix"
"niveum=${toString ./.}"
"nixpkgs=${inputs.nixpkgs}"
@@ -74,4 +74,4 @@ let
"weechat/relay"
] ++ basic);
}.${name};
in toString (pkgs.writers.writeDash "build" "NIX_PATH=${nixPathFor name} nix-build '<nixpkgs/nixos>' -A system --dry-run")
in toString (pkgs.writers.writeDash "build" "NIX_PATH=${nixPath} nix-build '<nixpkgs/nixos>' -A system --dry-run")