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:
Wolfgang Walther
2024-12-29 18:36:48 +01:00
parent b88f515135
commit 0fb0aa526a
3 changed files with 0 additions and 5 deletions
-1
View File
@@ -61,7 +61,6 @@ let
patchCommands,
}:
runCommand "${name}-k2pdfopt.patch" { inherit src; } ''
source $stdenv/setup
unpackPhase
orig=$sourceRoot
-2
View File
@@ -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"