-
Notifications
You must be signed in to change notification settings - Fork 5
rewrite devshell with flake #8
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
base: main
Are you sure you want to change the base?
Conversation
I think it would be very useful for nix-newcomers to have some basic instructions in the readme. So for example:
(of course only if and
|
inputs = { | ||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; | ||
flake-utils.url = "github:numtide/flake-utils"; | ||
oxalica.url = "github:oxalica/rust-overlay"; |
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.
There are 2 (different) nixpkgs in flake.lock
oxalica.url = "github:oxalica/rust-overlay"; | |
oxalica.url = "github:oxalica/rust-overlay"; | |
oxalica.inputs.nixpkgs.follows = "nixpkgs"; |
{ name = "LD"; bin = "ld.lld"; hostPackage = "bintools"; } | ||
{ name = "AR"; bin = "ar"; hostPackage = "bintools"; } | ||
])))) else { | ||
TODO = builtins.warn "TODO gcc build"; |
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.
error: attribute 'warn' missing
TODO = builtins.warn "TODO gcc build"; | |
TODO = builtins.throw "TODO gcc build"; |
@@ -0,0 +1,22 @@ | |||
{ | |||
description = "A very basic flake"; |
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.
description = "A very basic flake"; | |
description = "Devshell for building the Linux kernel"; |
I tried to set an older version of stable rust by setting Any version before 1.81.0 doesn't work for me, can you reproduce? |
I found out what the issue was, the depends on formula was too long and went over my laptop screen, |
Can you also add these |
Currently only the clang devshell works, did not look at gcc yet