mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-07-17 14:35:25 +08:00
fix nix flake check on macOS
This commit is contained in:
parent
16e94d49ea
commit
8bdf7d0993
2 changed files with 5 additions and 6 deletions
|
|
@ -11,7 +11,6 @@ in rec {
|
|||
Also see https://github.com/Mic92/sops-nix/issues/98
|
||||
'' pkgs.callPackage ./pkgs/sops-pgp-hook { };
|
||||
sops-import-keys-hook = pkgs.callPackage ./pkgs/sops-import-keys-hook { };
|
||||
inherit sops-install-secrets;
|
||||
|
||||
# backwards compatibility
|
||||
inherit (pkgs) ssh-to-pgp;
|
||||
|
|
@ -26,8 +25,9 @@ in rec {
|
|||
install -D sops-pgp-hook.test $out/bin/sops-pgp-hook.test
|
||||
'';
|
||||
};
|
||||
|
||||
unit-tests = pkgs.callPackage ./unit-tests.nix {};
|
||||
} // (pkgs.lib.optionalAttrs pkgs.stdenv.isLinux {
|
||||
inherit sops-install-secrets;
|
||||
|
||||
lint = sops-install-secrets.overrideAttrs (old: {
|
||||
name = "golangci-lint";
|
||||
|
|
@ -54,4 +54,4 @@ in rec {
|
|||
'';
|
||||
fixupPhase = ":";
|
||||
});
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue