git-octopus: remove 'with lib;'

This commit is contained in:
Felix Buehler 2024-08-13 22:06:03 +02:00 committed by Valentin Gagarin
parent 07440c4a2d
commit 95c1729ff8

View File

@ -1,7 +1,5 @@
{ lib, stdenv, fetchFromGitHub, git, perl, makeWrapper }: { lib, stdenv, fetchFromGitHub, git, perl, makeWrapper }:
with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "git-octopus"; pname = "git-octopus";
version = "1.4"; version = "1.4";
@ -13,7 +11,7 @@ stdenv.mkDerivation rec {
# perl provides shasum # perl provides shasum
postInstall = '' postInstall = ''
for f in $out/bin/*; do for f in $out/bin/*; do
wrapProgram $f --prefix PATH : ${makeBinPath [ git perl ]} wrapProgram $f --prefix PATH : ${lib.makeBinPath [ git perl ]}
done done
''; '';
@ -24,7 +22,7 @@ stdenv.mkDerivation rec {
sha256 = "14p61xk7jankp6gc26xciag9fnvm7r9vcbhclcy23f4ghf4q4sj1"; sha256 = "14p61xk7jankp6gc26xciag9fnvm7r9vcbhclcy23f4ghf4q4sj1";
}; };
meta = { meta = with lib; {
homepage = "https://github.com/lesfurets/git-octopus"; homepage = "https://github.com/lesfurets/git-octopus";
description = "Continuous merge workflow"; description = "Continuous merge workflow";
license = licenses.lgpl3; license = licenses.lgpl3;