From d765d89cabc6cab03b1e2b882dd99b5cbb67d9ce Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 4 Feb 2021 11:35:55 -0500 Subject: nix, use pkgs.lib instead of stdenv.lib - see https://github.com/NixOS/nixpkgs/issues/108938 --- project.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'project.nix') diff --git a/project.nix b/project.nix index 700f412..4594999 100755 --- a/project.nix +++ b/project.nix @@ -1,7 +1,5 @@ #!/usr/bin/env -S nix-build -{ pkgs ? import {}, - stdenv ? pkgs.stdenv, -}: +{ pkgs ? import {} }: with import ./nix/mkDub.nix { inherit pkgs; }; mkDubDerivation rec { name = "spine-${version}"; @@ -32,7 +30,7 @@ mkDubDerivation rec { install -m755 -D spine $out/bin/spine echo "built $out/bin/spine" ''; - meta = with stdenv.lib; { + meta = with pkgs.lib; { homepage = http://sisudoc.org; description = "a sisu like document parser"; license = licenses.agpl3Plus; -- cgit v1.2.3