mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-12 20:37:35 +00:00
fakeroot: fix tests
eval
Without the change `tests` attribute fails to eval as: $ nix build --no-link -f. fakeroot.tests error: attribute 'name' missing
This commit is contained in:
parent
01962add7e
commit
ce228ed6bd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user