Skip to content

Commit

Permalink
Merge pull request #265744 from giomf/numbat-prelude
Browse files Browse the repository at this point in the history
numbat: Add modules folder
  • Loading branch information
natsukium authored Nov 8, 2023
2 parents 3ffc003 + d758361 commit dcbe9fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/by-name/nu/numbat/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ rustPlatform.buildRustPackage rec {
darwin.apple_sdk.frameworks.Security
];

env.NUMBAT_SYSTEM_MODULE_PATH = "${placeholder "out"}/share/${pname}/modules";

postInstall = ''
mkdir -p $out/share/${pname}
cp -r $src/${pname}/modules $out/share/${pname}/
'';

passthru.tests.version = testers.testVersion {
package = numbat;
};
Expand Down

0 comments on commit dcbe9fa

Please sign in to comment.