aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-08 16:33:12 -0300
committerEuAndreh <eu@euandre.org>2021-02-08 16:33:12 -0300
commita1545c8715e797829be83983aa43862e845e57b0 (patch)
tree6cb920cb69cb8919a4817a0cd83593d938564cc9
parentAdd default.nix, and instruction on README.md (diff)
downloadpackage-repository-a1545c8715e797829be83983aa43862e845e57b0.tar.gz
package-repository-a1545c8715e797829be83983aa43862e845e57b0.tar.xz
default.nix: Require only pkgs in input
-rw-r--r--default.nix6
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";