avoid rebuilding firefox
This commit is contained in:
4
justfile
4
justfile
@@ -126,12 +126,12 @@ home-why-depends $attrpath:
|
||||
.#nixosConfigurations."${hostname}".config.home-manager.users."${username}".home.activationPackage \
|
||||
.#nixosConfigurations."${hostname}".pkgs."$attrpath"
|
||||
|
||||
home-eval:
|
||||
home-eval attrpath="home.activationPackage" *_:
|
||||
#!/usr/bin/env -S bash -euo pipefail
|
||||
hostname="$(hostname)"
|
||||
username="$(whoami)"
|
||||
set -x
|
||||
nix eval --log-format raw .#nixosConfigurations."${hostname}".config.home-manager.users."${username}".home.activationPackage
|
||||
nix eval --log-format raw .#nixosConfigurations."${hostname}".config.home-manager.users."${username}"."$attrpath" --show-trace "${@:2}"
|
||||
# TODO: fallback to .#homeConfigurations.$(whoami) ?
|
||||
# TODO: alternative behaviour for system-manager and nix-darwin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user