summary refs log tree commit diff
path: root/pkgs/development/tools/misc/creduce/default.nix
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-23 19:26:19 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-23 20:30:03 +0700
commitc522fec2743ffb95f2bc296f249232d73ae57dd1 (patch)
treec29207eba8c137fd2e9ff59d7186c9a4dfd0cdc4 /pkgs/development/tools/misc/creduce/default.nix
parentf6a583eeece936a1d917de67194fec4b6c74cf1f (diff)
downloadnixpkgs-c522fec2743ffb95f2bc296f249232d73ae57dd1.tar
nixpkgs-c522fec2743ffb95f2bc296f249232d73ae57dd1.tar.gz
nixpkgs-c522fec2743ffb95f2bc296f249232d73ae57dd1.tar.bz2
nixpkgs-c522fec2743ffb95f2bc296f249232d73ae57dd1.tar.lz
nixpkgs-c522fec2743ffb95f2bc296f249232d73ae57dd1.tar.xz
nixpkgs-c522fec2743ffb95f2bc296f249232d73ae57dd1.tar.zst
nixpkgs-c522fec2743ffb95f2bc296f249232d73ae57dd1.zip
pkgs/development/tools: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/tools/misc/creduce/default.nix')
-rw-r--r--pkgs/development/tools/misc/creduce/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/misc/creduce/default.nix b/pkgs/development/tools/misc/creduce/default.nix
index 7bc4aca3d9d..75234fde6ca 100644
--- a/pkgs/development/tools/misc/creduce/default.nix
+++ b/pkgs/development/tools/misc/creduce/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake, makeWrapper
+{ lib, stdenv, fetchurl, cmake, makeWrapper
 , llvm, clang-unwrapped
 , flex
 , zlib
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
   # On Linux, c-reduce's preferred way to reason about
   # the cpu architecture/topology is to use 'lscpu',
   # so let's make sure it knows where to find it:
-  postPatch = stdenv.lib.optionalString stdenv.isLinux ''
+  postPatch = lib.optionalString stdenv.isLinux ''
     substituteInPlace creduce/creduce_utils.pm --replace \
       lscpu ${util-linux}/bin/lscpu
   '';
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
     wrapProgram $out/bin/creduce --prefix PERL5LIB : "$PERL5LIB"
   '';
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "A C program reducer";
     homepage = "https://embed.cs.utah.edu/creduce";
     # Officially, the license is: https://github.com/csmith-project/creduce/blob/master/COPYING