fix(tf2): unpack tarballs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user