about summary refs log tree commit diff
path: root/pkgs/desktops/pantheon/desktop/elementary-print-shim
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-01-19 22:53:31 +0800
committerBobby Rong <rjl931189261@126.com>2022-01-24 20:29:52 +0800
commitfae325457a0f53a6aa026ed5fd61c99a062c56d5 (patch)
treeeeda3fd349750fd9b89195ba2e19077d08eb63a0 /pkgs/desktops/pantheon/desktop/elementary-print-shim
parent689b76bcf36055afdeb2e9852f5ecdd2bf483f87 (diff)
pkgs/pantheon: reorder attributes
https://github.com/jtojnar/nixpkgs-hammering/blob/master/explanations/attribute-ordering.md

Addressing the formatting now to minimize the Pantheon 7 update PR diff.
Diffstat (limited to 'pkgs/desktops/pantheon/desktop/elementary-print-shim')
-rw-r--r--pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix b/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix
index 119d5be21381d..a6d7040d4327e 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix
@@ -22,12 +22,6 @@ stdenv.mkDerivation rec {
     sha256 = "sha256-l2IUu9Mj22lZ5yajPcsGrJcJDakNu4srCV0Qea5ybPA=";
   };
 
-  passthru = {
-    updateScript = nix-update-script {
-      attrPath = "pantheon.${pname}";
-    };
-  };
-
   nativeBuildInputs = [
     meson
     ninja
@@ -37,6 +31,12 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ gtk3 ];
 
+  passthru = {
+    updateScript = nix-update-script {
+      attrPath = "pantheon.${pname}";
+    };
+  };
+
   meta = with lib; {
     description = "Simple shim for printing support via Contractor";
     homepage = "https://github.com/elementary/print";