Commit 1a5ef41b authored by Alyssa Ross's avatar Alyssa Ross
Browse files

motif: fix disabling demos

The previous sed expression didn't work, even in the commit that added
it.

Fixes: 68c003b2 ("motif: fixup build after automake update #28232")
parent 6aafa50a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 = [