Skip to content

Commit

Permalink
nixos-option: link to nixos test
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Dec 30, 2024
1 parent 8130873 commit 73edee5
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions pkgs/by-name/ni/nixos-option/package.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
lib,
makeWrapper,
stdenvNoCC,
coreutils,
installShellFiles,
shellcheck,
nix,
jq,
makeWrapper,
man-db,
coreutils,
nix,
nixosTests,
shellcheck,
stdenvNoCC,
}:

stdenvNoCC.mkDerivation {
Expand Down Expand Up @@ -52,14 +53,16 @@ stdenvNoCC.mkDerivation {
wrapProgram $out/bin/nixos-option \
--prefix PATH : ${
lib.makeBinPath [
nix
coreutils
jq
man-db
coreutils
nix
]
}
'';

passthru.tests.installer-simpleUefiSystemdBoot = nixosTests.installer.simpleUefiSystemdBoot;

meta = {
description = "Evaluate NixOS configuration and return the properties of given option";
license = lib.licenses.mit;
Expand Down

0 comments on commit 73edee5

Please sign in to comment.