Former-commit-id: c5420f8d3a
This commit is contained in:
Hadi
2024-06-23 17:52:19 +02:00
parent 8eaa78bf4b
commit d943b85cc9
30 changed files with 50 additions and 74 deletions

View File

@@ -11,6 +11,7 @@ let
echo "Wrong number of arguments..."
fi
'';
extract = pkgs.writeShellScriptBin "extract" ''
for i in "$@" ; do
tar -xvzf $i
@@ -18,4 +19,4 @@ let
done
'';
in { home.packages = with pkgs; [ compress extract ]; }
in { home.packages = [ compress extract ]; }