1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 00:16:11 -04:00

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;