fakeroot: Add tests.nixos-etc
This commit is contained in:
parent
f6e41af1e4
commit
7de8ea8ddd
1 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchurl, fetchpatch, getopt, libcap, gnused }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, getopt, libcap, gnused, nixosTests }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.23";
|
||||
|
@ -65,6 +65,13 @@ stdenv.mkDerivation rec {
|
|||
patch -p1 < ${patch-wraptmpf}
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
# A lightweight *unit* test that exercises fakeroot and fakechroot together:
|
||||
nixos-etc = nixosTests.etc.test-etc-fakeroot;
|
||||
};
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://salsa.debian.org/clint/fakeroot";
|
||||
description = "Give a fake root environment through LD_PRELOAD";
|
||||
|
|
Loading…
Reference in a new issue