pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "range-v3";
|
||||
@@ -19,12 +19,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# Building the tests currently fails on AArch64 due to internal compiler
|
||||
# errors (with GCC 9.2):
|
||||
cmakeFlags = stdenv.lib.optional stdenv.isAarch64 "-DRANGE_V3_TESTS=OFF";
|
||||
cmakeFlags = lib.optional stdenv.isAarch64 "-DRANGE_V3_TESTS=OFF";
|
||||
|
||||
doCheck = !stdenv.isAarch64;
|
||||
checkTarget = "test";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Experimental range library for C++11/14/17";
|
||||
homepage = "https://github.com/ericniebler/range-v3";
|
||||
changelog = "https://github.com/ericniebler/range-v3/releases/tag/${version}";
|
||||
|
||||
Reference in New Issue
Block a user