mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-15 17:50:51 +00:00
14 lines
324 B
Nix
14 lines
324 B
Nix
{ sops-install-secrets, gox }:
|
|
|
|
sops-install-secrets.overrideAttrs (old: {
|
|
name = "cross-build";
|
|
nativeBuildInputs = old.nativeBuildInputs ++ [ gox ];
|
|
buildPhase = ''
|
|
(cd pkgs/sops-install-secrets && gox -os linux)
|
|
'';
|
|
doCheck = false;
|
|
installPhase = ''
|
|
touch $out $unittest
|
|
'';
|
|
fixupPhase = ":";
|
|
})
|