Nadrieril
Nadrieril
I mean just storing the date of the last time an entry got `niv update`d would be already really helpful. Getting a more precise date from `nix-prefetch-git` could be done...
@novoxudonoser You get all the usual capabilities of `shell.nix`. For example, if you just want a bunch of packages in your environment: ```nix let sources = import ./nix/sources.nix; pkgs =...
Took inspiration from https://stackoverflow.com/a/46227637 , and the following seems to work (no need to `try`): ```haskell startOfLine :: Parser () startOfLine = do pos M.string "---"
In case someone else wants this right now, it's possible to add custom click actions to existing modules using [format strings](https://github.com/polybar/polybar/wiki/Formatting#action-a). Took me a while to discover. More details here:...
@dtolnay: here is a sad version of what you ask: ```rust macro_rules! void { ($ty:ty: $tr:path) => {{ struct True; struct False; trait DoesImpl { fn marker() {} } impl...
If/when https://github.com/nvzqz/static-assertions-rs/pull/28 gets accepted, I believe the following would work: ``` assert_impl!(for('a) MyType : serde::Deserialize
It seems to me that there is consensus on having an optional comment header specifying the version. Is there anything else to discuss or can we add it to the...
`match_default_bindings` is now [stabilized](https://github.com/rust-lang/rust/pull/49394). I've looked around and it seems that here is where discussion has moved, but it doesn't look like there is much momentum.
Quick summary of where we are at: Motivating example: as @boomshroom mentions, matching on recursive enums. We would typically want this to compile: ``` let x: Option = Some(Rc::new(Some(4))); match...
I did that, but it was not enough, because `/nix` is also neededForBoot, but /nix is supposed to be bind-mounted from /persistent. What happens is that during stage-1 the initrd...