mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
4cbb0adf4d
Fast.
12 lines
338 B
Plaintext
Executable file
12 lines
338 B
Plaintext
Executable file
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i nu -p nushell
|
|
cd $"($env.FILE_PWD)/../../.."
|
|
|
|
mkdir logs
|
|
nix-env -qaP -f . -A kdePackages --json --out-path | from json | values | par-each { |it|
|
|
echo $"Processing ($it.pname)..."
|
|
if "outputs" in $it {
|
|
nix-store --read-log $it.outputs.out | save -f $"logs/($it.pname).log"
|
|
}
|
|
}
|