Merge pull request #277593 from trofi/fakeroot-fix-tests-eval

fakeroot: fix `tests` eval
This commit is contained in:
Nick Cao 2023-12-29 20:39:19 -05:00 committed by GitHub
commit 95cd2d204b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,7 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
tests = {
version = testers.testVersion {
package = finalAttrs;
package = finalAttrs.finalPackage;
};
# A lightweight *unit* test that exercises fakeroot and fakechroot together:
nixos-etc = nixosTests.etc.test-etc-fakeroot;