mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 04:50:21 +00:00
[Backport release-24.11] nano: fix cross compilation, enable strictDeps (#405571)
This commit is contained in:
@@ -47,11 +47,15 @@ stdenv.mkDerivation rec {
|
||||
"info"
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--sysconfdir=/etc"
|
||||
(lib.enableFeature enableNls "nls")
|
||||
(lib.enableFeature enableTiny "tiny")
|
||||
];
|
||||
configureFlags =
|
||||
[
|
||||
"--sysconfdir=/etc"
|
||||
(lib.enableFeature enableNls "nls")
|
||||
(lib.enableFeature enableTiny "tiny")
|
||||
]
|
||||
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||
"gl_cv_func_strcasecmp_works=yes"
|
||||
];
|
||||
|
||||
postInstall =
|
||||
if enableTiny then
|
||||
@@ -62,6 +66,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
strictDeps = true;
|
||||
|
||||
passthru = {
|
||||
tests = {
|
||||
|
||||
Reference in New Issue
Block a user