rtl, cl-rest: add /bin to pkg output
This commit is contained in:
parent
f4872f3334
commit
602281b132
3 changed files with 29 additions and 8 deletions
|
|
@ -1,5 +1,15 @@
|
|||
{ pkgs }:
|
||||
{ pkgs, makeWrapper }:
|
||||
let
|
||||
nodePackages = import ./composition.nix { inherit pkgs; inherit (pkgs) nodejs; };
|
||||
inherit (pkgs) nodejs;
|
||||
nodePackages = import ./composition.nix { inherit pkgs nodejs; };
|
||||
in
|
||||
nodePackages.package
|
||||
nodePackages.package.overrideAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or []) ++ [
|
||||
makeWrapper
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
makeWrapper ${nodejs}/bin/node $out/bin/rtl \
|
||||
--add-flags $out/lib/node_modules/rtl/rtl
|
||||
'';
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue