mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 02:36:16 +02:00
Merge pull request #11614 from Gerg-L/master
nix-ng: add meta.mainProgram
This commit is contained in:
commit
973d4ede84
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,7 @@
|
||||||
nix-perl-bindings,
|
nix-perl-bindings,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
(buildEnv rec {
|
(buildEnv {
|
||||||
name = "nix-${nix-cli.version}";
|
name = "nix-${nix-cli.version}";
|
||||||
paths = [
|
paths = [
|
||||||
nix-util
|
nix-util
|
||||||
|
@ -76,6 +76,8 @@
|
||||||
] ++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
] ++ lib.optionals (stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||||
nix-perl-bindings
|
nix-perl-bindings
|
||||||
];
|
];
|
||||||
|
|
||||||
|
meta.mainProgram = "nix";
|
||||||
}).overrideAttrs (finalAttrs: prevAttrs: {
|
}).overrideAttrs (finalAttrs: prevAttrs: {
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
|
|
Loading…
Reference in a new issue