From 1a5ef41b84b333d2effe424111fe037846679f35 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 8 Apr 2024 20:23:06 +0200 Subject: [PATCH] motif: fix disabling demos The previous sed expression didn't work, even in the commit that added it. Fixes: 68c003b256ad ("motif: fixup build after automake update #28232") --- pkgs/development/libraries/motif/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/motif/default.nix b/pkgs/development/libraries/motif/default.nix index 92d0098fc984..083c839ec557 100644 --- a/pkgs/development/libraries/motif/default.nix +++ b/pkgs/development/libraries/motif/default.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ libXp libXau ]; prePatch = lib.optionalString (!demoSupport) '' - sed '/^SUBDIRS =,^$/s/\//' -i Makefile.{am,in} + sed 's/\//' -i Makefile.{am,in} ''; patches = [