fix 32-bit build

This commit is contained in:
Jörg Thalheim 2021-02-01 09:25:59 +01:00
parent b37a5b9a45
commit d665aecd88
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4
2 changed files with 14 additions and 2 deletions

View file

@ -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