АБ
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.shVY
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.shnix-shell так можно ведь запускать?--post-build-hook /etc/nix/post-build-hook.shVY
VY
АБ
nix-shell так можно ведь запускать?--post-build-hook /etc/nix/post-build-hook.shpost-build-hook указыватьАБ
АБ
VY
nix build -f. --post-build-hook /etc/nix/post-build-hook.shVY
post-build-hook указыватьАБ
nix build -f. --post-build-hook /etc/nix/post-build-hook.sh