Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to nixpgks 22.11 & fix test suite #55

Merged
merged 11 commits into from
Feb 26, 2023
Merged

Update to nixpgks 22.11 & fix test suite #55

merged 11 commits into from
Feb 26, 2023

Conversation

DavHau
Copy link
Owner

@DavHau DavHau commented Feb 26, 2023

  • update nixpkgs to 22.11
  • update nix to 2.13.2
  • create /nix/var/nix to prevent nix from falling back to chroot store
  • add tests using nix#nix-static instead of nix-portable to see how we compare to it
  • remove tests for centos8
  • add tests for fedora
  • re-enable tests for nixos

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
Copy link
Owner Author

DavHau commented Feb 26, 2023

... updated the OP with some more info

@DavHau
Copy link
Owner Author

DavHau commented Feb 26, 2023

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.

@DavHau DavHau merged commit f1df184 into master Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant