home

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 9380d99342326f1249bc82aad8a583048392b45f
parent 74b6664a9b04595ba9a0a5b64741e2525230cef6
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu,  4 Oct 2018 09:03:10 +0200

pkgs: fix prm args

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Moverlays/sbr.nix | 2+-
Mpkgs/default.nix | 2+-
Mpkgs/prm/default.nix | 7++++---
3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/overlays/sbr.nix b/overlays/sbr.nix @@ -34,7 +34,7 @@ self: super: inherit (self) stdenv lib buildGoPackage fetchFromGitHub; }; prm = import ../pkgs/prm { - inherit (self) stdenv lib buildGoPackage fetchgit; + inherit (self) stdenv lib buildGoPackage fetchFromGitHub; }; tmux-tpm = import ../pkgs/tmux-tpm { inherit (self) stdenv lib fetchFromGitHub; diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -37,7 +37,7 @@ in rec { inherit (pkgs) stdenv lib buildGoPackage fetchFromGitHub; }; prm = import ./prm { - inherit (pkgs) stdenv lib fetchgit; + inherit (pkgs) stdenv lib buildGoPackage fetchFromGitHub; }; tmux-tpm = import ./tmux-tpm { inherit (pkgs) stdenv lib fetchFromGitHub; diff --git a/pkgs/prm/default.nix b/pkgs/prm/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, buildGoPackage, fetchgit }: +{ stdenv, lib, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { name = "prm-unstable-${version}"; @@ -13,9 +13,10 @@ buildGoPackage rec { -X ${t}.BuildDate=unknown ''; - src = fetchgit { + src = fetchFromGitHub { inherit rev; - url = "https://github.com/ldez/prm"; + owner = "ldez"; + repo = "prm"; sha256 = "0adz9vli1x5f5v2vyfag7m2a9llj7bxih5g3ccjpiz22xk26rc6l"; };