various: remove useless "source stdenv/setup"
Those are run inside buildCommand, which is evaled inside stdenv/setup - so no reason to source it again.
This commit is contained in:
@@ -61,7 +61,6 @@ let
|
||||
patchCommands,
|
||||
}:
|
||||
runCommand "${name}-k2pdfopt.patch" { inherit src; } ''
|
||||
source $stdenv/setup
|
||||
unpackPhase
|
||||
|
||||
orig=$sourceRoot
|
||||
|
||||
@@ -6,8 +6,6 @@ stdenv.mkDerivation {
|
||||
xorg.mkfontdir xorg.mkfontscale
|
||||
];
|
||||
buildCommand = ''
|
||||
source $stdenv/setup
|
||||
|
||||
for i in ${toString fontDirs} ; do
|
||||
if [ -d $i/ ]; then
|
||||
list="$list $i";
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
source $stdenv/setup
|
||||
|
||||
codesign_allocate -r -i "$1" -o "$1"
|
||||
|
||||
Reference in New Issue
Block a user