Use packagesFromDirectoryRecursive to improve package building
This commit is contained in:
parent
57dafbe7e1
commit
8aa578123c
10 changed files with 27 additions and 33 deletions
|
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
inputs,
|
||||
system,
|
||||
callPackage,
|
||||
symlinkJoin,
|
||||
makeWrapper,
|
||||
}: let
|
||||
inherit (inputs.helix.packages."${system}") helix;
|
||||
runtime = callPackage ./runtime.nix {};
|
||||
in
|
||||
symlinkJoin {
|
||||
name = "helix-wrapped";
|
||||
paths = [helix];
|
||||
inherit (helix) meta;
|
||||
buildInputs = [
|
||||
makeWrapper
|
||||
];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/hx \
|
||||
--set HELIX_RUNTIME ${runtime}
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue