this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

potential fix for tar command #2

Altagos e99c61b2 44af7769

+12 -3
+12 -3
flake.nix
··· 15 15 in (flake-utils.lib.eachDefaultSystem (system: let 16 16 # Fix zig to handle tar extraction in Docker containers 17 17 zigFixed = zig2nix.outputs.packages.${system}.zig-latest.overrideAttrs (oldAttrs: { 18 - # Set TAR_OPTIONS for the unpack phase to avoid ownership issues 19 - preUnpack = '' 20 - export TAR_OPTIONS="--no-same-owner" 18 + # Override the unpack phase to use --no-same-owner 19 + unpackPhase = '' 20 + runHook preUnpack 21 + 22 + # Extract with --no-same-owner to avoid permission issues in Docker 23 + tar xf $src --no-same-owner 24 + 25 + # Set sourceRoot to the extracted directory 26 + sourceRoot=$(ls -d */ | head -n 1) 27 + sourceRoot=''${sourceRoot%/} 28 + 29 + runHook postUnpack 21 30 ''; 22 31 }); 23 32 # Zig flake helper