mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 12:29:02 +02:00
nixVersions.nix_2_10: workaround for installcheck
This commit is contained in:
parent
778863cbaa
commit
18c07ad150
|
@ -11,6 +11,7 @@ let
|
|||
atLeast24 = lib.versionAtLeast version "2.4pre";
|
||||
atLeast25 = lib.versionAtLeast version "2.5pre";
|
||||
atLeast27 = lib.versionAtLeast version "2.7pre";
|
||||
atLeast210 = lib.versionAtLeast version "2.10pre";
|
||||
in
|
||||
{ stdenv
|
||||
, autoconf-archive
|
||||
|
@ -176,6 +177,7 @@ self = stdenv.mkDerivation {
|
|||
installFlags = [ "sysconfdir=$(out)/etc" ];
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckTarget = if atLeast210 then "installcheck" else null;
|
||||
|
||||
# socket path becomes too long otherwise
|
||||
preInstallCheck = lib.optionalString stdenv.isDarwin ''
|
||||
|
|
Loading…
Reference in a new issue