diff options
Diffstat (limited to 'pkgs/tools/misc/ent/default.nix')
-rw-r--r-- | pkgs/tools/misc/ent/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/misc/ent/default.nix b/pkgs/tools/misc/ent/default.nix index 4ecb8fe488a..b0dc4f1e3df 100644 --- a/pkgs/tools/misc/ent/default.nix +++ b/pkgs/tools/misc/ent/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, unzip}: +{lib, stdenv, fetchurl, unzip}: stdenv.mkDerivation { name = "ent-1.1"; @@ -12,16 +12,16 @@ stdenv.mkDerivation { # case that happens when the archive doesn't have a subdirectory. setSourceRoot = "sourceRoot=`pwd`"; - buildInputs = [ unzip ]; + nativeBuildInputs = [ unzip ]; - buildFlags = stdenv.lib.optional stdenv.cc.isClang "CC=clang"; + buildFlags = lib.optional stdenv.cc.isClang "CC=clang"; installPhase = '' mkdir -p $out/bin cp ent $out/bin/ ''; - meta = with stdenv.lib; { + meta = with lib; { description = "Pseudorandom Number Sequence Test Program"; homepage = "http://www.fourmilab.ch/random/"; platforms = platforms.all; |