Unverified Commit b8885d1d authored by misuzu's avatar misuzu Committed by GitHub
Browse files

nano: fix cross compilation, enable strictDeps (#396996)

parents b0ad1995 6afc61c6
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -46,10 +46,14 @@ stdenv.mkDerivation rec {
    "info"
  ];

  configureFlags = [
  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 =
@@ -61,6 +65,7 @@ stdenv.mkDerivation rec {
      '';

  enableParallelBuilding = true;
  strictDeps = true;

  passthru = {
    tests = {