mirror of
https://github.com/NixOS/nix
synced 2025-06-25 02:21:16 +02:00
Use the official, documented NixOS runTest interface
This commit is contained in:
parent
74026bb101
commit
261c25601d
8 changed files with 56 additions and 97 deletions
|
@ -1,13 +1,12 @@
|
|||
# Verify that Linux builds cannot create setuid or setgid binaries.
|
||||
|
||||
{ nixpkgs, system, overlay }:
|
||||
{ lib, config, nixpkgs, ... }:
|
||||
|
||||
with import (nixpkgs + "/nixos/lib/testing-python.nix") {
|
||||
inherit system;
|
||||
extraConfigurations = [ { nixpkgs.overlays = [ overlay ]; } ];
|
||||
};
|
||||
let
|
||||
pkgs = config.nodes.machine.nixpkgs.pkgs;
|
||||
|
||||
makeTest {
|
||||
in
|
||||
{
|
||||
name = "setuid";
|
||||
|
||||
nodes.machine =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue