ags: use nixpkgs' version for Typescript

That's what the upstream uses so we'll go with it.
This commit is contained in:
Gabriel Arazas 2024-03-04 22:51:56 +08:00
parent 7923ba111b
commit d15434a96b
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -3,6 +3,7 @@
, fetchFromGitHub , fetchFromGitHub
, meson , meson
, ninja , ninja
, nodePackages
, pkg-config , pkg-config
, gobject-introspection , gobject-introspection
, gjs , gjs
@ -41,6 +42,7 @@ buildNpmPackage rec {
pkg-config pkg-config
gjs gjs
gobject-introspection gobject-introspection
nodePackages.typescript
wrapGAppsHook wrapGAppsHook
]; ];
@ -57,13 +59,6 @@ buildNpmPackage rec {
upower 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 = '' postPatch = ''
chmod u+x ./post_install.sh && patchShebangs ./post_install.sh chmod u+x ./post_install.sh && patchShebangs ./post_install.sh
''; '';