АБ
Size: a a a
АБ
АБ
nix.extraOptions = "post-build-hook = ${writeShellScript "upload-to-cachix" "echo $OUT_PATHS | ${cachix}/bin/cachix push your_cache"}";
АБ
...push your_cache&...
VY
nix build -f. --post-build-hook /etc/nix/post-build-hook.sh
VY
VY
# WARNING: this file is generated from the nix.* options in
# your NixOS configuration, typically
# /etc/nixos/configuration.nix. Do not edit it!
ц
VY
ц
VY
nix.extraOptions = "post-build-hook = ${writeShellScript "upload-to-cachix" "echo $OUT_PATHS | ${cachix}/bin/cachix push your_cache"}";
VY
VY
nix build -f. --post-build-hook /etc/nix/post-build-hook.sh
nix-shell
так можно ведь запускать?--post-build-hook /etc/nix/post-build-hook.sh
VY
VY
АБ
nix-shell
так можно ведь запускать?--post-build-hook /etc/nix/post-build-hook.sh
post-build-hook
указыватьАБ
АБ
VY
nix build -f. --post-build-hook /etc/nix/post-build-hook.sh
VY
post-build-hook
указыватьАБ
nix build -f. --post-build-hook /etc/nix/post-build-hook.sh