stow: support cross compilation (#322091)

* stow: support cross compilation

Co-authored-by: Fabian Thomas <fabian@fabianthomas.de>

* stow: remove unused perl input

---------

Co-authored-by: Fabian Thomas <fabian@fabianthomas.de>
This commit is contained in:
Robert James Hernandez 2024-06-28 06:16:10 -07:00 committed by GitHub
parent 0302e0fb4b
commit 8057340b8a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, perl
, perlPackages
}:
@ -14,6 +13,7 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-p7rGc9qiRs9U/7SKET6t0gSmFWMOdrU7X2TYGidbd7M=";
};
nativeBuildInputs = [ perlPackages.perl ];
buildInputs = with perlPackages; [ perl IOStringy TestOutput ];
doCheck = true;