diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-02-04 11:35:55 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-02-04 14:52:41 -0500 |
commit | d765d89cabc6cab03b1e2b882dd99b5cbb67d9ce (patch) | |
tree | 03f588be1f1acf81857e3f7a8cd27ab28d322e05 /project.nix | |
parent | cosmetic, minor (diff) |
nix, use pkgs.lib instead of stdenv.lib
- see https://github.com/NixOS/nixpkgs/issues/108938
Diffstat (limited to 'project.nix')
-rwxr-xr-x | project.nix | 6 |
1 files changed, 2 insertions, 4 deletions
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 <nixpkgs> {}, - stdenv ? pkgs.stdenv, -}: +{ pkgs ? import <nixpkgs> {} }: 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; |