1

Nixos: Move deprecated modules/derivation to separate folder

This commit is contained in:
2024-10-12 12:34:42 +02:00
parent 12443de899
commit f4992a38f4
36 changed files with 2 additions and 18 deletions

View File

@ -0,0 +1,12 @@
{pkgs, ...}:
pkgs.writeShellScriptBin "find-gsettings-schemas" ''
schemas=""
for d in $(ls -1 --ignore "*.drv" /nix/store); do
schemas_dir=$(echo /nix/store/"$d"/share/gsettings-schemas/*)
if [[ -d "$schemas_dir" ]]; then
schemas="$schemas''${schemas:+:}$schemas_dir"
fi
done
echo "$schemas"
''