[staging] always expose perl.version (#42644)
always expose perl.version (currently it is only visible if (stdenv.buildPlatform != stdenv.hostPlatform))
This commit is contained in:
parent
d5a647245f
commit
3fb3031f93
@ -23,6 +23,8 @@ let
|
|||||||
libcLib = lib.getLib libc;
|
libcLib = lib.getLib libc;
|
||||||
crossCompiling = stdenv.buildPlatform != stdenv.hostPlatform;
|
crossCompiling = stdenv.buildPlatform != stdenv.hostPlatform;
|
||||||
common = { version, sha256 }: stdenv.mkDerivation (rec {
|
common = { version, sha256 }: stdenv.mkDerivation (rec {
|
||||||
|
inherit version;
|
||||||
|
|
||||||
name = "perl-${version}";
|
name = "perl-${version}";
|
||||||
|
|
||||||
src = fetchurlBoot {
|
src = fetchurlBoot {
|
||||||
@ -179,8 +181,6 @@ let
|
|||||||
|
|
||||||
configurePlatforms = [ "build" "host" "target" ];
|
configurePlatforms = [ "build" "host" "target" ];
|
||||||
|
|
||||||
inherit version;
|
|
||||||
|
|
||||||
# TODO merge setup hooks
|
# TODO merge setup hooks
|
||||||
setupHook = ./setup-hook-cross.sh;
|
setupHook = ./setup-hook-cross.sh;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user