mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(ci): add support for pure evaluation mode
the errors were caused by https://github.com/NixOS/nix/pull/6698 fix taken from https://github.com/hercules-ci/gitignore.nix/pull/58/files
This commit is contained in:
@@ -84,6 +84,10 @@
|
||||
} @ inputs: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixos-stable.legacyPackages.${system};
|
||||
home =
|
||||
if nixos-stable.lib.inPureEvalMode or false
|
||||
then _: /nonexistent
|
||||
else import lib/home.nix;
|
||||
source = {
|
||||
sources,
|
||||
unstable,
|
||||
@@ -93,11 +97,11 @@
|
||||
niveum.file = toString ./.;
|
||||
nixos-config.symlink = "niveum/systems/${name}/configuration.nix";
|
||||
system-secrets.pass = {
|
||||
dir = toString ~/.password-store;
|
||||
dir = toString (home /.password-store);
|
||||
name = "systems/${name}";
|
||||
};
|
||||
secrets.pass = {
|
||||
dir = toString ~/.password-store;
|
||||
dir = toString (home /.password-store);
|
||||
name = "shared";
|
||||
};
|
||||
nixpkgs.file = toString (
|
||||
|
||||
Reference in New Issue
Block a user