mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
ags: use nixpkgs' version for Typescript
That's what the upstream uses so we'll go with it.
This commit is contained in:
parent
7923ba111b
commit
d15434a96b
@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, meson
|
||||
, ninja
|
||||
, nodePackages
|
||||
, pkg-config
|
||||
, gobject-introspection
|
||||
, gjs
|
||||
@ -41,6 +42,7 @@ buildNpmPackage rec {
|
||||
pkg-config
|
||||
gjs
|
||||
gobject-introspection
|
||||
nodePackages.typescript
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
@ -57,13 +59,6 @@ buildNpmPackage rec {
|
||||
upower
|
||||
];
|
||||
|
||||
# TODO: I have no idea how to properly make use of the binaries from
|
||||
# node_modules folder, pls fix later (or is this the most Nix-idiomatic way of
|
||||
# doing this?). :(
|
||||
preConfigure = ''
|
||||
addToSearchPath PATH $PWD/node_modules/.bin
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
chmod u+x ./post_install.sh && patchShebangs ./post_install.sh
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user