xnotify: remove with statements
This commit is contained in:
parent
abcb8ef242
commit
60f995275a
@ -29,13 +29,13 @@ stdenv.mkDerivation rec {
|
||||
libXinerama
|
||||
];
|
||||
|
||||
postPatch = with lib;
|
||||
postPatch =
|
||||
let
|
||||
configFile =
|
||||
if isDerivation conf || builtins.isPath conf
|
||||
if lib.isDerivation conf || builtins.isPath conf
|
||||
then conf else writeText "config.h" conf;
|
||||
in
|
||||
optionalString (conf != null) "cp ${configFile} config.h";
|
||||
lib.optionalString (conf != null) "cp ${configFile} config.h";
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user