# Pastebin kQpe5V8b eval-nix = let pkgs = import ../nix/pkgs {}; nix-files = builtins.filterSource ( name: type: type == "directory" || pkgs.lib.hasPrefix ".nix" (baseNameOf (toString name)) ) ./..; in pkgs.runCommand "eval-nix" {} '' find ${nix-files} -name '*.nix' -type f -print0 | xargs -0 ${pkgs.nix}/bin/nix-instantiate --eval-only '';