1
0
Fork 1
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:
Emery Hemingway 2023-11-23 21:34:01 +02:00
parent 8effb98377
commit 1753744b35

View file

@ -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 // {