Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
11 lines
338 B
Text
Executable file
11 lines
338 B
Text
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"
|
|
}
|
|
}
|