don't use deprecated stdenv.lib
This commit is contained in:
parent
7f226e82d0
commit
4158f021ff
2 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue