the previous url was incorrectly formatted to retrieve a more up to date file
This commit is contained in:
parent
403e57f9ad
commit
cfb501db29
2 changed files with 5 additions and 5 deletions
|
@ -1,14 +1,14 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
let
|
let
|
||||||
dbrev = "5607";
|
dbrev = "5613";
|
||||||
drivedbBranch = "RELEASE_7_4";
|
drivedbBranch = "RELEASE_7_4";
|
||||||
in
|
in
|
||||||
final: prev: {
|
final: prev: {
|
||||||
smartmontools = prev.smartmontools.overrideAttrs (oldAttrs: {
|
smartmontools = prev.smartmontools.overrideAttrs (oldAttrs: {
|
||||||
inherit dbrev drivedbBranch;
|
inherit dbrev drivedbBranch;
|
||||||
driverdb = builtins.fetchurl {
|
driverdb = builtins.fetchurl {
|
||||||
url = "https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/tags/${drivedbBranch}/smartmontools/drivedb.h?format=raw";
|
url = "https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/trunk/smartmontools/drivedb.h?format=raw";
|
||||||
sha256 = "sha256-BTZm9Ue7MxFygEValSs/d86Jz3xQU+4+EPdHO6erAmI=";
|
sha256 = "sha256-6r7Pd298Ea55AXOLijUEQoJq+Km5cE+Ygti65yacdoM=";
|
||||||
name = "smartmontools-drivedb.h";
|
name = "smartmontools-drivedb.h";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
#!nix-shell -I nixpkgs=/etc/nix/inputs/nixpkgs/ -i bash -p nix
|
#!nix-shell -I nixpkgs=/etc/nix/inputs/nixpkgs/ -i bash -p nix
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
dbrev="5607"
|
dbrev="5613"
|
||||||
drivedbBranch="RELEASE_7_4"
|
drivedbBranch="RELEASE_7_4"
|
||||||
url="https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/tags/${drivedbBranch}/smartmontools/drivedb.h?format=raw"
|
url="https://sourceforge.net/p/smartmontools/code/${dbrev}/tree/trunk/smartmontools/drivedb.h?format=raw";
|
||||||
|
|
||||||
echo "Fetching hash for URL: $url"
|
echo "Fetching hash for URL: $url"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue