From a1545c8715e797829be83983aa43862e845e57b0 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 8 Feb 2021 16:33:12 -0300 Subject: default.nix: Require only pkgs in input --- default.nix | 6 +++--- 1 file 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"; -- cgit v1.2.3