r3916 update
This commit is contained in:
+5
-8
@@ -2,7 +2,7 @@
|
||||
writeShellApplication,
|
||||
gnugrep,
|
||||
gnused,
|
||||
nix-prefetch,
|
||||
nix-prefetch-svn,
|
||||
subversion,
|
||||
}:
|
||||
writeShellApplication {
|
||||
@@ -10,7 +10,7 @@ writeShellApplication {
|
||||
runtimeInputs = [
|
||||
gnugrep
|
||||
gnused
|
||||
nix-prefetch
|
||||
nix-prefetch-svn
|
||||
subversion
|
||||
];
|
||||
|
||||
@@ -25,12 +25,9 @@ writeShellApplication {
|
||||
else
|
||||
echo "DO_UPDATE=1"
|
||||
fi
|
||||
hash="$(nix-prefetch \
|
||||
--check-store \
|
||||
--option extra-experimental-features flakes \
|
||||
fetchsvn \
|
||||
--url "$url" \
|
||||
--rev "$new_rev" \
|
||||
hash="$(nix-prefetch-svn \
|
||||
"$url" \
|
||||
"$new_rev" \
|
||||
)"
|
||||
echo "HASH=$hash"
|
||||
sed -i flake.nix \
|
||||
|
||||
Reference in New Issue
Block a user