about summary refs log tree commit diff
path: root/pkgs/misc
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2022-12-25 17:11:14 -0500
committerfigsoda <figsoda@pm.me>2022-12-26 12:39:21 -0500
commita211d942913d9c4071771f3ffb4c9e1000043d6a (patch)
tree4a01b857b5d55f02d857b977e4f35b9f4fdf1029 /pkgs/misc
parent6621358e6d439e38fae5101d6c7e133029affec2 (diff)
treewide: remove attrPath from nix-update-script calls
after https://github.com/Mic92/nix-update/pull/120 and https://github.com/NixOS/nixpkgs/pull/207703, `attrPath` can now be omitted when using `nix-update-script`
Diffstat (limited to 'pkgs/misc')
-rw-r--r--pkgs/misc/flashfocus/default.nix4
-rw-r--r--pkgs/misc/screensavers/light-locker/default.nix4
2 files changed, 2 insertions, 6 deletions
diff --git a/pkgs/misc/flashfocus/default.nix b/pkgs/misc/flashfocus/default.nix
index 67cde0924c299..5f6df66dd422d 100644
--- a/pkgs/misc/flashfocus/default.nix
+++ b/pkgs/misc/flashfocus/default.nix
@@ -36,9 +36,7 @@ python3.pkgs.buildPythonApplication rec {
 
   pythonImportsCheck = [ "flashfocus" ];
 
-  passthru.updateScript = nix-update-script {
-    attrPath = pname;
-  };
+  passthru.updateScript = nix-update-script { };
 
   meta = with lib; {
     homepage = "https://github.com/fennerm/flashfocus";
diff --git a/pkgs/misc/screensavers/light-locker/default.nix b/pkgs/misc/screensavers/light-locker/default.nix
index 0ad2c77dc7ef4..33db5825bc020 100644
--- a/pkgs/misc/screensavers/light-locker/default.nix
+++ b/pkgs/misc/screensavers/light-locker/default.nix
@@ -66,9 +66,7 @@ stdenv.mkDerivation rec {
   '';
 
   passthru = {
-    updateScript = nix-update-script {
-      attrPath = pname;
-    };
+    updateScript = nix-update-script { };
   };
 
   meta = with lib; {