Unverified Commit f31d5565 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

util-linux: fix static

Fixes: fb70653c ("util-linux: 2.39.4 -> 2.40.4")
Closes: https://github.com/NixOS/nixpkgs/issues/389169
parent 7c76d3b2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -105,6 +105,10 @@ stdenv.mkDerivation rec {
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # Doesn't build on Darwin, also doesn't really make sense on Darwin
      "--disable-liblastlog2"
    ]
    ++ lib.optionals stdenv.hostPlatform.isStatic [
      # Mandatory shared library.
      "--disable-pam-lastlog2"
    ];

  makeFlags = [