fix(tf2): unpack tarballs
This commit is contained in:
@@ -12,9 +12,10 @@ in {
|
|||||||
(let
|
(let
|
||||||
tf2pkgs = inputs.tf2-nix.packages.x86_64-linux;
|
tf2pkgs = inputs.tf2-nix.packages.x86_64-linux;
|
||||||
tgz = x: pkgs.runCommand "source" {} ''
|
tgz = x: pkgs.runCommand "source" {} ''
|
||||||
mkdir $out
|
tarball="${x}"
|
||||||
cd $out
|
tar xzf "$tarball"
|
||||||
tar xzvf "${x}"
|
base="$(stripHash "$tarball")"
|
||||||
|
mv "''${base%.tar.gz}" $out
|
||||||
'';
|
'';
|
||||||
my-config = tf2pkgs.mergeTf2Configs (with tf2pkgs; [
|
my-config = tf2pkgs.mergeTf2Configs (with tf2pkgs; [
|
||||||
mastercomfig.presets.medium-low
|
mastercomfig.presets.medium-low
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user