don't use deprecated stdenv.lib

This commit is contained in:
Jörg Thalheim 2021-02-06 12:05:44 +01:00
parent 7f226e82d0
commit 4158f021ff
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4
2 changed files with 3 additions and 3 deletions

View file

@ -187,7 +187,7 @@ Each repository should return a set of Nix derivations:
In this example `hello-nur` would be a directory containing a `default.nix`:
```nix
{ stdenv, fetchurl }:
{ stdenv, fetchurl, lib }:
stdenv.mkDerivation rec {
pname = "hello";
@ -205,7 +205,7 @@ stdenv.mkDerivation rec {
# fails due to patch
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "A program that produces a familiar, friendly greeting";
longDescription = ''
GNU Hello is a program that prints "Hello, world!" when you run it.

View file

@ -9,7 +9,7 @@ python3Packages.buildPythonApplication {
doCheck = true;
makeWrapperArgs = [
"--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ nix-prefetch-git git nix ]}"
"--prefix" "PATH" ":" "${pkgs.lib.makeBinPath [ nix-prefetch-git git nix ]}"
"--set" "LOCALE_ARCHIVE" "${glibcLocales}/lib/locale/locale-archive"
];
}