Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Try-reflex not working on macOS 11.1 #714

Closed
jerbaroo opened this issue Dec 19, 2020 · 7 comments
Closed

Try-reflex not working on macOS 11.1 #714

jerbaroo opened this issue Dec 19, 2020 · 7 comments

Comments

@jerbaroo
Copy link

jerbaroo commented Dec 19, 2020

If you have any trouble with this script, please submit an issue at https://github.com/reflex-frp/reflex-platform/issues
Entering the reflex sandbox...
these paths will be fetched (6.02 MiB download, 155.91 MiB unpacked):
  /nix/store/1gm3iylwr7q0r2r5182sysf9gqwnnjfb-reflex-todomvc-0.1-js-unknown-ghcjs
  /nix/store/1r3pdbhnxbw3xwy2s6i477sd0ny1rhxi-dependent-sum-0.7.1.0-js-unknown-ghcjs
  /nix/store/4rvi24r9mwjkdj4z2cr45cns4j85lkww-some-1.0.1-js-unknown-ghcjs
  /nix/store/56wkaz558yz3c1xymj9vmssmxfp5p6xj-prim-uniq-0.2-js-unknown-ghcjs
  /nix/store/82v86rjbddsig4gi175dil19z92njz55-patch-0.0.3.2-js-unknown-ghcjs
  /nix/store/c2bd9nr13qz19mcbn3axfhj7ljh3dfwp-dependent-map-0.4.0.0-js-unknown-ghcjs
  /nix/store/dkv1ry2c9ghw9zs4fqjvhvd5w3277l6z-reflex-0.8.0.0-js-unknown-ghcjs
  /nix/store/iy4zx2c4i4d7m7z7vy3r6kf0rwinbli0-shell-x86_64-darwin
  /nix/store/mkvwv7ia8mcmzy6wnrdy83s6yaiwcc0x-reflex-dom-0.6.1.0-js-unknown-ghcjs
  /nix/store/pji42nj0088dvn6i8kwpzr0kz2wx2y2a-dependent-sum-template-0.1.0.3-js-unknown-ghcjs
  /nix/store/sr967bhlga5g5mb52xgn266z36gr1n4g-reflex-dom-core-0.6.1.0-js-unknown-ghcjs
  /nix/store/vyld2qjq47x9iya0f5bcd3zz4hr90rrl-ghcjs-8.6.0.1-with-packages
don't know how to build these paths:
  /nix/store/rfa8yp50l6x79zd2fmipjyaallg7p3bs-type-equality-1-js-unknown-ghcjs
building '/nix/store/dzwb7bm2q6lg2mhim4pzqf4gclv49kbs-type-equality-1-js-unknown-ghcjs.drv'...
setupCompilerEnvironmentPhase
Build with /nix/store/2y70b0p8cbrbz9nkj37liz1423vqkzn0-ghcjs-8.6.0.1.
unpacking sources
unpacking source archive /nix/store/zja8yc486kq6isjvlcrn5lwf5ijb3b0s-type-equality-1.tar.gz
source root is type-equality-1
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file type-equality-1/type-equality.cabal
patching sources
compileBuildDriverPhase
setupCompileFlags: -package-db=/private/tmp/nix-build-type-equality-1-js-unknown-ghcjs.drv-0/setup-package.conf.d -j4 -threaded
[1 of 1] Compiling Main             ( /nix/store/4mdp8nhyfddh7bllbi7xszz7k9955n79-Setup.hs, /private/tmp/nix-build-type-equality-1-js-unknown-ghcjs.drv-0/Main.o )
Linking Setup ...
ld: file not found: /usr/lib/system/libcache.dylib for architecture x86_64
clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
`cc' failed in phase `Linker'. (Exit code: 1)
builder for '/nix/store/dzwb7bm2q6lg2mhim4pzqf4gclv49kbs-type-equality-1-js-unknown-ghcjs.drv' failed with exit code 1
cannot build derivation '/nix/store/czv5la6fqiknrfc5vczqliplwlxlq1ns-ghcjs-8.6.0.1-with-packages.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/m7xwzbkjpn17qsawfhncw4gcan6c7kds-shell-x86_64-darwin.drv': 1 dependencies couldn't be built
error: build of '/nix/store/m7xwzbkjpn17qsawfhncw4gcan6c7kds-shell-x86_64-darwin.drv' failed
@jerbaroo
Copy link
Author

I believe the issue is related to NixOS/nixpkgs#91748 however I have no idea to fix it

@kenranunderscore
Copy link

I'm having this problem too. Looked through the other issue(s) and it seems like it's the same problem or related, but I don't fully understand it. So I, too, have no idea how to go about this.
I'll do the "dumb" step and try reinstalling nix and the XCode command line tools... though I don't think that should change anything.

@MurakamiKennzo
Copy link

does this have any solution? I have the same problem is there a way for build front-end application?.

@alt-romes
Copy link

alt-romes commented May 4, 2022

I believe the issue is the outdated version of nixpkgs; I changed the rev and hash to master to see what would happen, but there's a cascade of errors doing this small bump.

@Ericson2314 I don't know nix, how feasible is it for me to bump this on my own? How bad is it for anyone experienced? Fixing this would be really cool.

Yesterday I lost quite some time on it with little to show

@Ericson2314
Copy link
Member

It is quite hard, I am afraid.

@Ericson2314
Copy link
Member

#768 is an attempt I started after we did a view round. I am a strong believe one should go from one stable Nixpkgs to the next, and not skip versions.

@ali-abrar
Copy link
Member

#768 was merged some time ago, which should have fixed this issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants