DavHau / nix-portable

Nix - Static, Permissionless, Installation-free, Pre-configured
MIT License
870 stars 31 forks source link

Update to nixpgks 22.11 & fix test suite #55

Closed DavHau closed 1 year ago

DavHau commented 1 year ago

using proot as a runtime triggers a problem on arch, nixos, fedora and inside docker containers. For arch, nixos, fedora it is not an issue, because nix-portable will use bubblewrap on theses systems by default anyways. But for docker it is currently a blocker

The error:

hello> unpacking sources
hello> unpacking source archive /nix/store/pa10z4ngm0g83kx9mssrqzz30s84vq7k-hello-2.12.1.tar.gz
hello> source root is hello-2.12.1
hello> setting SOURCE_DATE_EPOCH to timestamp 1653865426 of file hello-2.12.1/ChangeLog
hello> patching sources
hello> configuring
hello> no configure script, doing nothing
hello> building
hello> build flags: SHELL=/nix/store/zcla0ljiwpg5w8pvfagfjq1y2vasfix5-bash-5.1-p16/bin/bash
hello> There seems to be no Makefile in this directory.
hello> You must run ./configure before running 'make'.
hello> make: *** [GNUmakefile:108: abort-due-to-no-makefile] Error 1
error: builder for '/nix/store/2rymqf3xf6qknxvpbc46jssnli8xsskg-hello-2.12.1.drv' failed with exit code 2

@Mic92

DavHau commented 1 year ago

... updated the OP with some more info

DavHau commented 1 year ago

Merging this now. The tests succeed for all environments except docker, which is an improvement over the last version. The proot issue can be fixed later.