dotfiles/scripts/upload-to-cache.sh
Hung bbcc5a14b7 wip: error building kpcli-py :/
error: builder for '/nix/store/sacq2mx2i7f4230sy0j2m36av73xsjc7-python3.10-pip-23.0.1.drv' failed with exit code 1;
       last 10 log lines:
       > updateAutotoolsGnuConfigScriptsPhase
       > configuring
       > no configure script, doing nothing
       > building
       > Executing setuptoolsBuildPhase
       > Traceback (most recent call last):
       >   File /private/tmp/nix-build-python3.10-pip-23.0.1.drv-0/pip-23.0.1-source/nix_run_setup, line 3, in <module>
       >     import setuptools
       > ModuleNotFoundError: No module named 'setuptools'
       > /nix/store/mymsi43djixs7aiqfb9gpms4jllszfrg-stdenv-darwin/setup: line 1601: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/sacq2mx2i7f4230sy0j2m36av73xsjc7-python3.10-pip-23.0.1.drv'.
2023-03-24 09:39:29 -07:00

12 lines
358 B
Bash
Executable File

#!/usr/bin/env sh
# set -eux
# set -f # disable globbing (/nix/store may contain glob chars)
# export IFS=' '
# PATH=/nix/var/nix/profiles/default/bin:$PATH
#
# # $OUT_PATHS when invoked by nix.settings.post-build-hook will be
# # space-separated paths to /nix/store/
# echo "Uploading paths" $OUT_PATHS
# nix copy --to "ssh-ng://10.100.200.230" $OUT_PATHS