]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add compression tools, less colorization and other tools
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 10 Mar 2019 14:16:06 +0000 (15:16 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 10 Mar 2019 14:16:06 +0000 (15:16 +0100)
default.nix

index aeb851d8610c60a6091afc6827630c94bfaceb12..1f50aa365046a18e29ceff3fdf665837d9afe0ae 100644 (file)
@@ -547,6 +547,10 @@ let
         install -Dm644 "$src/config" -t "$out/etc/telegramircd/"
         '';
     };
+
+    mypkgs.lesspipe = lesspipe.overrideAttrs(old: {
+      configureFlags = (old.configureFlags or []) ++ [ "--yes" ];
+    });
 # https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh
 # https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks
 in
@@ -597,6 +601,12 @@ in
     inherit bundix;
     bower2nix = nodePackages.bower2nix;
     inherit firefox;
-    # todo: unrar, unzip
+    inherit jq;
+    inherit lzo unzip bzip2 p7zip xz;
+    # unrar is unfree
+    inherit tig;
     #inherit nixos;
+    inherit emacs26-nox;
+    inherit highlight sourceHighlight;
+    pygmentize = python3Packages.pygments;
   }