mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
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:
parent
23ff7d9dc4
commit
9cfffcd54a
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user