scrypt: fix build on aarch64-darwin
util-linux alternative for darwin does not contain `rev` anyway and somehow the tests pass even when it is missing
This commit is contained in:
parent
23315789cf
commit
9118fde4b0
|
@ -1,4 +1,10 @@
|
||||||
{ lib, stdenv, fetchurl, openssl, util-linux, getconf }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, openssl
|
||||||
|
, getconf
|
||||||
|
, util-linux
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "scrypt";
|
pname = "scrypt";
|
||||||
|
@ -27,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
checkTarget = "test";
|
checkTarget = "test";
|
||||||
checkInputs = [ util-linux ];
|
checkInputs = lib.optionals stdenv.isLinux [ util-linux ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Encryption utility";
|
description = "Encryption utility";
|
||||||
|
|
Loading…
Reference in a new issue