Created
April 18, 2021 09:49
-
-
Save SCOTT-HAMILTON/13414f10638e54467a61e8c65fe93711 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkgs/development/tools/build-managers/gnumake/default.nix b/pkgs/development/tools/build-managers/gnumake/default.nix | |
index fb9dab54049..8d7c6b98843 100644 | |
--- a/pkgs/development/tools/build-managers/gnumake/default.nix | |
+++ b/pkgs/development/tools/build-managers/gnumake/default.nix | |
@@ -1,4 +1,4 @@ | |
-{ lib, stdenv, fetchurl, guileSupport ? false, pkg-config ? null , guile ? null }: | |
+{ lib, stdenv, fetchurl, perl, guileSupport ? false, pkg-config ? null , guile ? null }: | |
assert guileSupport -> ( pkg-config != null && guile != null ); | |
@@ -21,7 +21,7 @@ stdenv.mkDerivation { | |
./impure-dirs.patch | |
]; | |
- nativeBuildInputs = lib.optionals guileSupport [ pkg-config ]; | |
+ nativeBuildInputs = [ perl ] ++ lib.optionals guileSupport [ pkg-config ]; | |
buildInputs = lib.optionals guileSupport [ guile ]; | |
configureFlags = lib.optional guileSupport "--with-guile" | |
@@ -37,6 +37,10 @@ stdenv.mkDerivation { | |
outputs = [ "out" "man" "info" ]; | |
+ postBuild = '' | |
+ make check | |
+ ''; | |
+ | |
meta = with lib; { | |
homepage = "https://www.gnu.org/software/make/"; | |
description = "A tool to control the generation of non-source files from sources"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment