mirror of
https://github.com/Mic92/sops-nix.git
synced 2026-07-17 14:35:25 +08:00
fix 32-bit build
This commit is contained in:
parent
b37a5b9a45
commit
d665aecd88
2 changed files with 14 additions and 2 deletions
12
default.nix
12
default.nix
|
|
@ -40,5 +40,17 @@ in rec {
|
|||
fixupPhase = ":";
|
||||
});
|
||||
|
||||
cross-build = sops-install-secrets.overrideAttrs (old: {
|
||||
name = "cross-build";
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.gox ];
|
||||
buildPhase = ''
|
||||
(cd pkgs/sops-install-secrets && gox -os linux)
|
||||
'';
|
||||
installPhase = ''
|
||||
touch $out
|
||||
'';
|
||||
fixupPhase = ":";
|
||||
});
|
||||
|
||||
# integration tests
|
||||
} // pkgs.lib.optionalAttrs (pkgs.stdenv.isLinux) sops-install-secrets.tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue