mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
15 lines
324 B
Nix
15 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 = ":";
|
||
|
})
|