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
|
, 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
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user