file: fix for cross
For whatever reason "selfNativeBuildInput = true" doesn't seeem to do the trick here? (reasons may include "it's not intended to solve this problem" ;))
This commit is contained in:
parent
162398f907
commit
2060f547df
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, zlib }:
|
{ stdenv, fetchurl, file, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "file-${version}";
|
name = "file-${version}";
|
||||||
@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0l1bfa0icng9vdwya00ff48fhvjazi5610ylbhl35qi13d6xqfc6";
|
sha256 = "0l1bfa0icng9vdwya00ff48fhvjazi5610ylbhl35qi13d6xqfc6";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
|
||||||
buildInputs = [ zlib ];
|
buildInputs = [ zlib ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user