Skip to content

Commit

Permalink
Merge pull request #11614 from Gerg-L/master
Browse files Browse the repository at this point in the history
nix-ng: add meta.mainProgram
  • Loading branch information
tomberek committed Sep 29, 2024
2 parents 7913818 + a614fbb commit 973d4ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packaging/everything.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
nix-perl-bindings,
}:

(buildEnv rec {
(buildEnv {
name = "nix-${nix-cli.version}";
paths = [
nix-util
Expand Down Expand Up @@ -76,6 +76,8 @@
] ++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
nix-perl-bindings
];

meta.mainProgram = "nix";
}).overrideAttrs (finalAttrs: prevAttrs: {
doCheck = true;
doInstallCheck = true;
Expand Down

0 comments on commit 973d4ed

Please sign in to comment.