repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
anvil-editor: init at 0.4
[NixPkgs.git]
/
pkgs
/
build-support
/
substitute
/
substitute-all.sh
blob
ec220481fcc094e2a7c7e7292e9537be6cdd65b2
1
source
$stdenv
/
setup
2
3
eval
"
$preInstall
"
4
5
args
=
6
7
target
=
$out
8
if
test -n
"
$dir
"
;
then
9
target
=
$out
/
$dir
/
$name
10
mkdir
-p
$out
/
$dir
11
fi
12
13
substituteAll
$src $target
14
15
if
test -n
"
$isExecutable
"
;
then
16
chmod
+
x
$target
17
fi
18
19
eval
"
$postInstall
"