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
, 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
'';