pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -11,7 +11,7 @@ mkDerivation rec {
|
||||
sha256 = "0hf1c2m8n88frmxmyn0ndr8129p7iky49nq565sw1asaydm5z6pb";
|
||||
};
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace glogg.pro \
|
||||
--replace "boost_program_options-mt" "boost_program_options"
|
||||
'';
|
||||
@@ -22,7 +22,7 @@ mkDerivation rec {
|
||||
qmakeFlags = [ "VERSION=${version}" ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
mkdir -p $out/Applications
|
||||
mv $out/bin/glogg.app $out/Applications/glogg.app
|
||||
rm -fr $out/{bin,share}
|
||||
|
||||
Reference in New Issue
Block a user