Comments (6)
That looks pretty good to me!
Would you mind contributing it to the README.md? It is a bit outdated.
from crate2nix.
That looks pretty good to me!
Would you mind contributing it to the README.md? It is a bit outdated.
Do you want to move the Flake section up to the top? I don't have numbers but I feel like Flake is the more common usage here. I can also add a template using thje example here.
from crate2nix.
Heyo @vleni,
Yes, I just recently added some information about flake usage. I want to export something nice since ages there but haven't come around to doing it yet.
Feel free to search the README.md for references to flakes and consolidate them in a Flake section in the beginning and then maybe a separate nix-env section?
Not sure how much time you are willing to spend on this, so if you just keep it short and just add a new section that is also fine.
from crate2nix.
Heyo @vleni,
Yes, I just recently added some information about flake usage. I want to export something nice since ages there but haven't come around to doing it yet.
Feel free to search the README.md for references to flakes and consolidate them in a Flake section in the beginning and then maybe a separate nix-env section?
Not sure how much time you are willing to spend on this, so if you just keep it short and just add a new section that is also fine.
I added one self-contained flake example in #306. It doesn't involve any installation so I put it in its own section.
from crate2nix.
Heyo @vleni !
BTW, feel free to add yourself to the Changelog and thanks again!
from crate2nix.
@kolloch I think there's a problem: oxalica/rust-overlay#143
The developer of rust-overlay says we should not override nixpkgs
from crate2nix.
Related Issues (20)
- Support for build kinds (examples, benches, etc.)
- Building a GTK application fails without an error message HOT 2
- feature request: be able to override sourceFilter
- Use crate2nix generate for third-party projects HOT 7
- `CARGO_MANIFEST_LINKS` environment variable missing in build environment HOT 1
- Panic when running `crate2nix generate` HOT 6
- crate2nix stumbles over arbitrary #[cfg] conditionals HOT 4
- error inheriting `version` from workspace root manifest's `workspace.package.version` HOT 1
- Set custom environment variables in `packages` and `devShells` HOT 1
- rustc 1.73 breaks crate2nix cross compilation HOT 5
- Cargo.nix includes references to ./crate2nix-sources with cargo workspaces HOT 1
- nixpkgs update breaks empty_cross test due to missing `rust` arguement HOT 7
- rstests adds a stray "/sources" to all globbed #[files] HOT 1
- Support path to Cargo.toml/Cargo.lock in fetched sources
- Tarball issue when building or trying to use template. HOT 1
- Error with dep that has a local dep
- Some sort of support for .cargo/config.toml ? HOT 1
- Overriding `crateConfig` for generated `Cargo.nix`
- Crate hash loading from Cargo.lock is broken in Rust 1.77
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crate2nix.