diff options
author | EuAndreh <eu@euandre.org> | 2021-02-08 16:33:12 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-08 16:33:12 -0300 |
commit | a1545c8715e797829be83983aa43862e845e57b0 (patch) | |
tree | 6cb920cb69cb8919a4817a0cd83593d938564cc9 | |
parent | Add default.nix, and instruction on README.md (diff) | |
download | package-repository-a1545c8715e797829be83983aa43862e845e57b0.tar.gz package-repository-a1545c8715e797829be83983aa43862e845e57b0.tar.xz |
default.nix: Require only pkgs in input
Diffstat (limited to '')
-rw-r--r-- | default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/default.nix b/default.nix index 2ba7b07..025cb3b 100644 --- a/default.nix +++ b/default.nix @@ -1,8 +1,8 @@ -{ pkgs, stdenv, fetchurl, lib }: +{ pkgs }: self: super: let default-derivation = { pname, version-prefix, version, sha256 }: - stdenv.mkDerivation rec { + pkgs.stdenv.mkDerivation rec { inherit pname version; src = fetchTarball { @@ -16,7 +16,7 @@ let "CC=cc" ]; - meta = with lib; { + meta = with pkgs.lib; { description = readFile "${src}/description"; longDescription = readFile "${src}/long-description"; homepage = "https://${pname}.euandreh.xyz"; |