the-nix-way / nix-flake-dev-environments Goto Github PK
View Code? Open in Web Editor NEWNix flake examples for real-world development environments [maintainer=@lucperkins]
Nix flake examples for real-world development environments [maintainer=@lucperkins]
Tried elixir-phoenix
error: Package ‘MacOS_SDK-10.12’ in /nix/store/xxxxxxxxxxxxxxxxxxx-source/pkgs/os-specific/darwin/apple-sdk/default.nix:50 is not supported on ‘x86_64-linux’, refusing to evaluate.
Thanks for sharing
Hi,
I generated a clean Ruby on Rails application using rails new test --api
Then I did nix run nixpkgs#bundix -- --ruby=ruby_3_1
to get the gemset.nix
When I try using the flake.nix
provided here it fails with
direnv: loading ~/sauce/myconventionlist/.envrc
direnv: using flake
error: hash mismatch in fixed-output derivation '/nix/store/khyz0a6v1sac546cr7p5g68ap0w9nm6q-nokogiri-1.13.8.gem.drv':
specified: sha256-NE8bxm/qx4flsgU8bpCV0fM2BQg+WN3yuNTu8le8zF8=
got: sha256-ecJ5KYsvIv1Odg9JmQx5MENrrBsc/v97rP8ZLzDt6jw=
error: 1 dependencies of derivation '/nix/store/riky8hrjwj5v2nr3waycxfmkf12blhmz-ruby3.1.2-nokogiri-1.13.8.drv' failed to build
error: 1 dependencies of derivation '/nix/store/g70h2ldxy9axja5salw97f8in7b7674i-rails-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/91i3qy9npfjxsnncjdskyav20x0pp6dk-nix-shell-env.drv' failed to build
direnv: nix-direnv: renewed cache
direnv: export ~XDG_DATA_DIRS
I discovered there's a difference between your gemset.nix
and the one I got:
mini_portile2
as a dependency as your does - https://github.com/the-nix-way/nix-flake-dev-environments/blob/main/ruby-on-rails/gemset.nix#L4730pycpibz5vnlp3rdsn1y102kdwyijn86wg05nbjqgizadz31nkrl
which doesn't match yours 0g7axlq2y6gzmixzzzhw3fn6nhrhg469jj8gfr7gs8igiclpkhkr
I don't see any special options being passed to nokogiri in your flake configuration. How did you make this work?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.