about summary refs log tree commit diff
path: root/pkgs/applications/misc/snagboot/default.nix
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2023-06-21 00:13:19 +0000
committerGitHub <noreply@github.com>2023-06-21 00:13:19 +0000
commit260df62919ffc7c09044edb519f3beaa491cda0e (patch)
tree0b2b34c12219860fd7d15b9cfeaf0d5148ffa9b5 /pkgs/applications/misc/snagboot/default.nix
parent3780de2d515bae803de26545cf5891c211a9846b (diff)
parent2de5e6838cd1480b9f1eae11c1c65ca2f32ae40c (diff)
Merge master into haskell-updates
Diffstat (limited to 'pkgs/applications/misc/snagboot/default.nix')
-rw-r--r--pkgs/applications/misc/snagboot/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/misc/snagboot/default.nix b/pkgs/applications/misc/snagboot/default.nix
index 5618078d419c5..35ac8b28aa994 100644
--- a/pkgs/applications/misc/snagboot/default.nix
+++ b/pkgs/applications/misc/snagboot/default.nix
@@ -10,14 +10,14 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "snagboot";
-  version = "1.0";
+  version = "1.1";
   format = "pyproject";
 
   src = fetchFromGitHub {
     owner = "bootlin";
     repo = "snagboot";
     rev = "v${version}";
-    hash = "sha256-QqGeELm2seX3tIKQvuXp9VsNDah+m9FNcaEVk6TMP0U=";
+    hash = "sha256-MU6LzjH6s2MS7T3u1OUeJ5ZmWgL0otA/q0ylwTNH4fA=";
   };
 
   passthru = {
@@ -56,14 +56,14 @@ python3.pkgs.buildPythonApplication rec {
   ];
 
   postInstall = lib.optionalString stdenv.isLinux ''
-    rules="src/snagrecover/80-snagboot.rules"
+    rules="src/snagrecover/50-snagboot.rules"
     if [ ! -f "$rules" ]; then
         echo "$rules is missing, must update the Nix file."
         exit 1
     fi
 
     mkdir -p "$out/lib/udev/rules.d"
-    cp "$rules" "$out/lib/udev/rules.d/80-snagboot.rules"
+    cp "$rules" "$out/lib/udev/rules.d/50-snagboot.rules"
   '';
 
   # There are no tests