mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
nim_lk: wrap with nix-prefetch, nix-prefetch-git
This commit is contained in:
parent
8effb98377
commit
1753744b35
@ -1,4 +1,12 @@
|
||||
{ lib, buildNimPackage, fetchFromSourcehut, nim, openssl, makeWrapper }:
|
||||
{ lib
|
||||
, buildNimPackage
|
||||
, fetchFromSourcehut
|
||||
, nim
|
||||
, nix-prefetch
|
||||
, nix-prefetch-git
|
||||
, openssl
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
buildNimPackage (finalAttrs: {
|
||||
pname = "nim_lk";
|
||||
@ -18,7 +26,7 @@ buildNimPackage (finalAttrs: {
|
||||
|
||||
postFixup = ''
|
||||
wrapProgram $out/bin/nim_lk \
|
||||
--suffix PATH : ${lib.makeBinPath [ nim ]}
|
||||
--suffix PATH : ${lib.makeBinPath [ nim nix-prefetch nix-prefetch-git ]}
|
||||
'';
|
||||
|
||||
meta = finalAttrs.src.meta // {
|
||||
|
Loading…
Reference in New Issue
Block a user