-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json2ts: fix build on darwin; allow case insensitive import #358398
Conversation
8829706
to
e4b8d93
Compare
f33d55a
to
f07a550
Compare
f07a550
to
36f68a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff looks good.
Manually tested on darwin
nix-build --argstr system aarch64-darwin -A json2ts
/nix/store/g6s4342v2n0x4bg88c6r1j343xdh5vkk-json2ts
Fiy: bcherny/json-schema-to-typescript#644 We can remove the fix once this is fixed upstream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds on aarch64-darwin and x86_64-darwin
|
@ofborg build json2ts json2ts.passthru.tests |
Successfully created backport PR for |
Darwins case (in-)sensitive file-system behavior of typescript causes this package to fail:
https://www.typescriptlang.org/tsconfig/#forceConsistentCasingInFileNames
default: true
I used jq to set it to false in
postConfigure
.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.
#ZurichZHF