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
evcc: 0.131.4 -> 0.131.5
[NixPkgs.git]
/
pkgs
/
by-name
/
bo
/
boot
/
builder.sh
blob
4506e3f0f8615053a85055f5a56147fe1a691e5c
1
if
[
-e
"
$NIX_ATTRS_SH_FILE
"
];
then
.
"
$NIX_ATTRS_SH_FILE
"
;
elif
[
-f
.attrs.sh
];
then
. .attrs.sh
;
fi
2
source
$stdenv
/
setup
3
4
boot_bin
=
$out
/
bin
/
boot
5
6
mkdir
-pv
$
(
dirname
$boot_bin
)
7
cp
-v
$src $boot_bin
8
chmod
-v
755
$boot_bin
9
10
patchShebangs
$boot_bin
11
12
sed
-i
\
13
-e
"s;\
${BOOT_JAVA_COMMAND:-java};\${BOOT_JAVA_COMMAND:-${jdk}/bin/java}
;g"
\
14
$boot_bin