fix(tf2): unpack tarballs
This commit is contained in:
1 parent
c83f5ae4b4
commit
94c2e40f9f
2 files changed
+4
-3
No files matched your search
@@ -12,9 +12,10 @@ in {
|
||||
(let
|
||||
tf2pkgs = inputs.tf2-nix.packages.x86_64-linux;
|
||||
tgz = x: pkgs.runCommand "source" {} ''
|
||||
mkdir $out
|
||||
cd $out
|
||||
tar xzvf "${x}"
|
||||
tarball="${x}"
|
||||
tar xzf "$tarball"
|
||||
base="$(stripHash "$tarball")"
|
||||
mv "''${base%.tar.gz}" $out
|
||||
'';
|
||||
my-config = tf2pkgs.mergeTf2Configs (with tf2pkgs; [
|
||||
mastercomfig.presets.medium-low
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user