release.nix: fix packages.json.br for tarball
This commit is contained in:
parent
3578be70f5
commit
f3cb640d58
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ pkgs.releaseTools.sourceTarball {
|
|||
header "generating packages.json"
|
||||
mkdir -p $out/nix-support
|
||||
echo -n '{"version":2,"packages":' > tmp
|
||||
nix-env -f . -I nixpkgs=$src -qa --json --arg config 'import ${./packages-config.nix}' "''${opts[@]}" >> tmp
|
||||
nix-env -f . -I nixpkgs=$src -qa --meta --json --arg config 'import ${./packages-config.nix}' "''${opts[@]}" >> tmp
|
||||
echo -n '}' >> tmp
|
||||
packages=$out/packages.json.br
|
||||
< tmp sed "s|$(pwd)/||g" | jq -c | brotli -9 > $packages
|
||||
|
|
Loading…
Reference in a new issue