about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-20 21:40:00 +0200
committerSoispha <soispha@vhack.eu>2023-08-20 21:40:00 +0200
commit66928b32289cfd95c8170b4c8b1e778d5c3601ea (patch)
treeddbe11e5acb0d6a4f97b4f63b9126200c7318b50
parentFeat(hm/conf/lf): Replace rename script by rename c binary (diff)
downloadnixos-config-66928b32289cfd95c8170b4c8b1e778d5c3601ea.tar.gz
nixos-config-66928b32289cfd95c8170b4c8b1e778d5c3601ea.zip
Fix(hm/conf/lf/commands): Avoid shell wrapping for c rename command
-rw-r--r--flake.lock36
-rw-r--r--home-manager/soispha/config/lf/commands/default.nix9
2 files changed, 23 insertions, 22 deletions
diff --git a/flake.lock b/flake.lock
index b33bbc7d..8f9ea91b 100644
--- a/flake.lock
+++ b/flake.lock
@@ -321,11 +321,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1692448348,
-        "narHash": "sha256-/Wy9Bzw59A5OD82S9dWHshg+wiSzJNh95hPXNhO5K7E=",
+        "lastModified": 1692503956,
+        "narHash": "sha256-MOA6FKc1YgfGP3ESnjSYfsyJ1BXlwV5pGlY/u5XdJfY=",
         "owner": "nix-community",
         "repo": "home-manager",
-        "rev": "bdb5bcad01ff7332fdcf4b128211e81905113f84",
+        "rev": "958c06303f43cf0625694326b7f7e5475b1a2d5c",
         "type": "github"
       },
       "original": {
@@ -487,11 +487,11 @@
         "nmt": "nmt"
       },
       "locked": {
-        "lastModified": 1692281989,
-        "narHash": "sha256-b1WPbUNVWahAHvMxWnp+0zzswUj8lReX/c28O2Au2Og=",
+        "lastModified": 1692541053,
+        "narHash": "sha256-zSaFSMlkt3TsC9WN4vbm1NHRCjOCaE0KsTdDhS/zPeA=",
         "owner": "nixNeovim",
         "repo": "nixNeovim",
-        "rev": "929c6c4a188947801ac354e1c5d110937fca9449",
+        "rev": "ce34303a486d49a6a4d5c3b372625794e44ec5a6",
         "type": "github"
       },
       "original": {
@@ -542,11 +542,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1692350035,
-        "narHash": "sha256-hcC5vVjbNYzv7hPu3e27jUvt6mBzGIdzoAt2mlZyWvE=",
+        "lastModified": 1692476227,
+        "narHash": "sha256-PDHK8tNTveeWcWgKGq+tGiovl/PUB51lsnAemQj6Zss=",
         "owner": "nix-community",
         "repo": "nixvim",
-        "rev": "07af7710e297308a553f09f6ceeb729aa5b5a27c",
+        "rev": "4ef53c788b99768f3ab948d53078d9bd1594f03c",
         "type": "github"
       },
       "original": {
@@ -593,11 +593,11 @@
     },
     "nixpkgs": {
       "locked": {
-        "lastModified": 1692356644,
-        "narHash": "sha256-AYkPFT+CbCVSBmh0WwIzPpwhEJ4Yy3A7JZvUkGJIg5o=",
+        "lastModified": 1692447944,
+        "narHash": "sha256-fkJGNjEmTPvqBs215EQU4r9ivecV5Qge5cF/QDLVn3U=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "8ecc900b2f695d74dea35a92f8a9f9b32c8ea33d",
+        "rev": "d680ded26da5cf104dd2735a51e88d2d8f487b4d",
         "type": "github"
       },
       "original": {
@@ -609,11 +609,11 @@
     },
     "nixpkgs-stable": {
       "locked": {
-        "lastModified": 1692339729,
-        "narHash": "sha256-TUK76/Pqm9qIDjEGd27Lz9EiBIvn5F70JWDmEQ4Y5DQ=",
+        "lastModified": 1692414505,
+        "narHash": "sha256-sSTuyR9JYSxmUcYcj0Jvw1hIq1tz/Canw9mK0hEJvnE=",
         "owner": "NixOS",
         "repo": "nixpkgs",
-        "rev": "ae521bd4e460b076a455dca8b13f4151489a725c",
+        "rev": "4cdad15f34e6321a2f789b99d42815b9142ac2ba",
         "type": "github"
       },
       "original": {
@@ -826,11 +826,11 @@
         ]
       },
       "locked": {
-        "lastModified": 1692410823,
-        "narHash": "sha256-YM1QCenpghNqgleUmoCJUArTuMEBqScyQuhepA6JZaI=",
+        "lastModified": 1692497375,
+        "narHash": "sha256-50w6YzSA+0utDmBY0TPndRGYypBbJrKQHlOFGedo70I=",
         "owner": "oxalica",
         "repo": "rust-overlay",
-        "rev": "598b2f04ed252eb5808b108d7a10084c0c548753",
+        "rev": "41ea15ff958038712f108332d68f32745af9dd35",
         "type": "github"
       },
       "original": {
diff --git a/home-manager/soispha/config/lf/commands/default.nix b/home-manager/soispha/config/lf/commands/default.nix
index 95cd2991..9eba1a98 100644
--- a/home-manager/soispha/config/lf/commands/default.nix
+++ b/home-manager/soispha/config/lf/commands/default.nix
@@ -197,10 +197,11 @@ in {
     file = ./scripts/set_wall_paper;
     dependencies = [];
   };
-  rename = pipe {
-    file = "${lf_rename.packages."${system}".default}";
-    dependencies = [];
-  };
+  rename = ''
+    %{{
+      ${lf_rename.packages."${system}".default}/bin/rename
+    }}
+  '';
   stripspace = pipe {
     file = ./scripts/stripspace;
     dependencies = [];