motif: fix disabling demos
The previous sed expression didn't work, even in the commit that added
it.
Fixes: 68c003b256 ("motif: fixup build after automake update #28232")
This commit is contained in:
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
propagatedBuildInputs = [ libXp libXau ];
|
||||
|
||||
prePatch = lib.optionalString (!demoSupport) ''
|
||||
sed '/^SUBDIRS =,^$/s/\<demos\>//' -i Makefile.{am,in}
|
||||
sed 's/\<demos\>//' -i Makefile.{am,in}
|
||||
'';
|
||||
|
||||
patches = [
|
||||
|
||||
Reference in New Issue
Block a user