Grab proot from bootstrap zip rather than including its nix path directly.

This means that the cachix substituter (or already having the package in your nix store somehow) is no longer required to build.

This required reworking the deploy script. As a bonus you can now omit the second argument and it will tell you what it would have copied instead of copying anything.

This is fixes one source of impurity, but for now flake builds will still require the --impure flag
This commit is contained in:
Shelvacu 2024-07-22 20:57:09 -07:00
parent 248cc08061
commit c5324bcad0
12 changed files with 279 additions and 122 deletions

13
scripts/setup.py Normal file
View file

@ -0,0 +1,13 @@
from setuptools import setup, find_packages
setup(
name='nix-on-droid-deploy-script',
version='0.0',
packages=[],
py_modules=["deploy"],
entry_points={
'console_scripts': [
'deploy=deploy:go',
],
},
)