Add Nix-based development shell and related CI by exarkun · Pull Request #517 · gridsync/gridsync
added 28 commits
August 3, 2022 09:35Turns out the image does have bash and openssh now, hooray. However, the checkout step is failing: > /usr/bin/docker exec a5e8... sh -c "cat /etc/*release | grep ^ID" > OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: no such file or directory: unknown I suppose because there is no `/etc/os-release`?
> invalid argument "kernel.unprivileged_userns_clone=1" for "--sysctl" flag: sysctl 'kernel.unprivileged_userns_clone=1' is not whitelisted
If we use a different container for each step then each step has to download and build the whole stack for itself, adding about 8 minutes to the job. :/
The previous nixpkgs revision was an arbitrary revision of master that just happened to work during development. Instead of enshrining it, switch to something that's compatible with a version of pypi-deps-db we can get (and get that, too).
exarkun
deleted the
nix-flake-dev-env
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters