about summary refs log tree commit diff
path: root/modules/common/shell
diff options
context:
space:
mode:
Diffstat (limited to 'modules/common/shell')
-rw-r--r--modules/common/shell/default.nix29
1 files changed, 15 insertions, 14 deletions
diff --git a/modules/common/shell/default.nix b/modules/common/shell/default.nix
index 7c6c835..2e81d45 100644
--- a/modules/common/shell/default.nix
+++ b/modules/common/shell/default.nix
@@ -80,16 +80,17 @@ in
                     let
                       pkg =
                         if this.isHeadful then
-                          pkgs.coreutils.overrideAttrs (
-                            _: super: {
-                              patches = (super.patches or [ ]) ++ [
-                                (pkgs.fetchpatch {
-                                  url = "https://raw.githubusercontent.com/jarun/advcpmv/1e2b1c6b74fa0974896bf94604279a3f74b37a63/advcpmv-0.9-9.5.patch";
-                                  hash = "sha256-LRfb4heZlAUKiXl/hC/HgoqeGMxCt8ruBYZUrbzSH+Y=";
-                                })
-                              ];
-                            }
-                          )
+                          pkgs.coreutils
+                        # pkgs.coreutils.overrideAttrs (
+                        #   _: super: {
+                        #     patches = (super.patches or [ ]) ++ [
+                        #       (pkgs.fetchpatch {
+                        #         url = "https://raw.githubusercontent.com/jarun/advcpmv/1e2b1c6b74fa0974896bf94604279a3f74b37a63/advcpmv-0.9-9.5.patch";
+                        #         hash = "sha256-LRfb4heZlAUKiXl/hC/HgoqeGMxCt8ruBYZUrbzSH+Y=";
+                        #       })
+                        #     ];
+                        #   }
+                        # )
                         else
                           pkgs.coreutils;
                     in
@@ -98,6 +99,8 @@ in
                 )
                 (
                   let
+                    # progressBar = lib.optionalString this.isHeadful "--progress-bar";
+
                     mkAlias =
                       {
                         name ? lib.head command,
@@ -107,8 +110,6 @@ in
                         inherit name;
                         value = lib.concatStringsSep " " command;
                       };
-
-                    progressBar = lib.optionalString this.isHeadful "--progress-bar";
                   in
                   [
                     (mkAlias {
@@ -116,14 +117,14 @@ in
                         "cp"
                         "--interactive"
                         "--recursive"
-                        progressBar
+                        # progressBar
                       ];
                     })
                     (mkAlias {
                       command = [
                         "mv"
                         "--interactive"
-                        progressBar
+                        # progressBar
                       ];
                     })
                     (mkAlias {

Consider giving Nix/NixOS a try! <3