Skip to content

Commit 0046aa4

Browse files
authored
nix: bump nixpkgs to include http-parser fixes (#31)
1 parent 04a293a commit 0046aa4

2 files changed

Lines changed: 4 additions & 18 deletions

File tree

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/static-deps.nix

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,7 @@ let
1111
inherit (callPackage ./util.nix { }) mkStatic;
1212
in
1313
{
14-
http-parser = (mkStatic http-parser).overrideAttrs (oldAttrs: {
15-
# needed until upstream PR hits nixpkgs-unstable,
16-
# track https://nixpk.gs/pr-tracker.html?pr=254516.
17-
# http-parser makefile is a bit incomplete, so fill in the gaps here
18-
# to move the static object and header files to the right location
19-
# https://github.com/nodejs/http-parser/issues/310.
20-
buildFlags = [ "package" ];
21-
installTargets = "package";
22-
postInstall = ''
23-
install -D libhttp_parser.a $out/lib/libhttp_parser.a
24-
install -D http_parser.h $out/include/http_parser.h
25-
ls -la $out/lib $out/include
26-
'';
27-
});
28-
14+
http-parser = mkStatic http-parser;
2915
libiconv = mkStatic libiconv;
3016
openssl = mkStatic openssl;
3117
openssl_1_1 = mkStatic openssl_1_1;

0 commit comments

Comments
 (0)