@secana
@programming.devHi rustaceans! What are you working on this week? Did you discover something new, you want to share?
Hi! I ran into the issue that my kube config, which I manage with home-manager is world read- and writable.
I hoped that there is an easy option to set file permissions with home-manager, e.g. home.file."foo".permissions = 0644
but something like this does not exist. All solutions a short web search turns up are overly complicated for something that seems to be a trivial task.
What is the easiest way to set permissions for a file with home-manager?
Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?
Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?
Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?
Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?
Hi rustaceans! What are you working on this week? Did you discover something new, you want to share?
Hi! It's my first day with nixos. I tried to compile a rust project. To do so, I used a nix-shell with the content from here: https://nixos.wiki/wiki/Rust with the "Installation via rustup" option.
Unfortunately the compilation fails:
$ cargo check
Compiling libc v0.2.151
Compiling proc-macro2 v1.0.73
Compiling serde v1.0.193
Checking once_cell v1.19.0
Compiling thiserror v1.0.53
error: linker `aarch64-linux-gnu-gcc` not found
|
= note: No such file or directory (os error 2)
error: could not compile `proc-macro2` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
error: could not compile `serde` (build script) due to 1 previous error
error: could not compile `libc` (build script) due to 1 previous error
error: could not compile `thiserror` (build script) due to 1 previous error
I run NixOS 23.11 stable on a VM on a Macbook with M1 (arm64) CPU.
Any ideas how to fix that?
https://notes.eatonphil.com/2024-03-15-zig-rust-and-other-languages.html
Zig, Rust, and other languages
https://kellnr.io/
Kellnr is a private Crate registry for Rust written in Rust to self-host or run in the cloud.