super: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 01:47:35 +02:00 committed by Martin Weinelt
parent 2939285236
commit a1c07a61b2
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch }:
{ lib, stdenv, fetchurl, fetchpatch, libxcrypt }:
stdenv.mkDerivation rec {
pname = "super";
@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
];
buildInputs = [ libxcrypt ];
installFlags = [ "sysconfdir=$(out)/etc" "localstatedir=$(TMPDIR)" ];
meta = {