Skip to content

Commit

Permalink
added multiple outputs KaylorBen#16
Browse files Browse the repository at this point in the history
  • Loading branch information
SpiderUnderUrBed committed Nov 1, 2024
1 parent 8d6d7d2 commit 520b774
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions hm-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,18 @@ let

applyPostPatch = pkg:
pkg.overrideAttrs (oldAttrs: {
outputs = ["out" "api"];
outputs = ["out" "api"];

postUnpack = ''
# postUnpack = ''
# mkdir -p $api
# mv src/api/* $api/
# ln -sf $api $out/api
# '';

postPatch = ''
mkdir -p $api
mv src/api/* $api/
ln -sf $api $out/api
'';

postPatch = ''
# mkdir -p $api
# mv src/api/* $api/
# ln -sf $api $out/api
ln -sf $api src/api
ln -s ${userPluginsDirectory} src/userplugins
'';
Expand Down

0 comments on commit 520b774

Please sign in to comment.