nix-ng: add meta.mainProgram

This commit is contained in:
Gerg-L 2024-09-29 15:03:08 -04:00
parent 79138183a9
commit a614fbb2a2
No known key found for this signature in database

View file

@ -39,7 +39,7 @@
nix-perl-bindings,
}:
(buildEnv rec {
(buildEnv {
name = "nix-${nix-cli.version}";
paths = [
nix-util
@ -76,6 +76,8 @@
] ++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
nix-perl-bindings
];
meta.mainProgram = "nix";
}).overrideAttrs (finalAttrs: prevAttrs: {
doCheck = true;
doInstallCheck = true;