From a59fd8c0893d281b1579fde1dadf01774165cc08 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Mon, 25 Nov 2024 20:32:12 +0100 Subject: [PATCH] quilt: enable strictDeps --- pkgs/by-name/qu/quilt/package.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/by-name/qu/quilt/package.nix b/pkgs/by-name/qu/quilt/package.nix index 4b7cfb59cf7d..477b4d14bb45 100644 --- a/pkgs/by-name/qu/quilt/package.nix +++ b/pkgs/by-name/qu/quilt/package.nix @@ -42,6 +42,14 @@ stdenv.mkDerivation rec { unixtools.getopt ]; + strictDeps = true; + + configureFlags = [ + # configure only looks in $PATH by default, + # which does not include buildInputs if strictDeps is true + "--with-perl=${lib.getExe perl}" + ]; + postInstall = '' wrapProgram $out/bin/quilt --prefix PATH : ${lib.makeBinPath buildInputs} '';