mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00: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 a new issue