r3916 update

This commit is contained in:
Greg Hellings
2026-08-05 09:11:03 -05:00
parent 688e63ce04
commit 6c5f5b0de5
2 changed files with 17 additions and 18 deletions
+5 -3
View File
@@ -32,7 +32,8 @@
perSystem = perSystem =
{ pkgs, self', ... }@inputs': { pkgs, self', ... }@inputs':
{ {
_module.args.pkgs = import inputs.nixpkgs { _module.args = {
pkgs = import inputs.nixpkgs {
inherit (inputs') system; inherit (inputs') system;
overlays = [ overlays = [
(_: p: { (_: p: {
@@ -41,6 +42,7 @@
}) })
]; ];
}; };
};
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
# These will just be available # These will just be available
@@ -79,8 +81,8 @@
(win.sword.overrideAttrs { (win.sword.overrideAttrs {
src = pkgs.fetchsvn { src = pkgs.fetchsvn {
url = "https://svn.crosswire.org/svn/sword/trunk"; url = "https://svn.crosswire.org/svn/sword/trunk";
rev = "3914"; rev = "3916";
hash = "sha256-yqZtUb86KILTYcshe/qim5+H57ktKlH3Uiic6KDKnrQ="; hash = "sha256-eucivqgAeNpcwsyn2Il0+eX1X6rJHJQo1jF+jzE3IxE=";
}; };
patches = [ ]; patches = [ ];
}).override }).override
+5 -8
View File
@@ -2,7 +2,7 @@
writeShellApplication, writeShellApplication,
gnugrep, gnugrep,
gnused, gnused,
nix-prefetch, nix-prefetch-svn,
subversion, subversion,
}: }:
writeShellApplication { writeShellApplication {
@@ -10,7 +10,7 @@ writeShellApplication {
runtimeInputs = [ runtimeInputs = [
gnugrep gnugrep
gnused gnused
nix-prefetch nix-prefetch-svn
subversion subversion
]; ];
@@ -25,12 +25,9 @@ writeShellApplication {
else else
echo "DO_UPDATE=1" echo "DO_UPDATE=1"
fi fi
hash="$(nix-prefetch \ hash="$(nix-prefetch-svn \
--check-store \ "$url" \
--option extra-experimental-features flakes \ "$new_rev" \
fetchsvn \
--url "$url" \
--rev "$new_rev" \
)" )"
echo "HASH=$hash" echo "HASH=$hash"
sed -i flake.nix \ sed -i flake.nix \