We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f745b0 + 879f202 commit bc7db5fCopy full SHA for bc7db5f
voyager/voyager.nix
@@ -31,12 +31,15 @@
31
let
32
builder =
33
release:
34
- pkgs.linkFarm "voyager-modules-plugins" (
35
- pkgs.lib.mapAttrsToList (name: path: {
36
- inherit name;
37
- path = if release then path.release else path;
38
- }) (builtins.foldl' (acc: p: acc // (crane.buildWorkspaceMember p { })) { } voy-modules-list)
39
- );
+ pkgs.symlinkJoin {
+ name = "voyager-modules-plugins";
+ paths = pkgs.lib.mapAttrsToList (_: path: if release then path.release else path) (
+ builtins.foldl' (acc: p: acc // (crane.buildWorkspaceMember p { })) { } voy-modules-list
+ );
+ postBuild = ''
40
+ rm $out/lib -r
41
+ '';
42
+ };
43
in
44
(builder false)
45
// {
0 commit comments