Commit Graph

31 Commits (termwiz)

Author SHA1 Message Date
Michael Davis e01c53551d flake: use builtins.fetchTree to shallow-clone grammar repos
Here we perform a shallow fetch using builtins.fetchTree. In order
to make this work, we need to specify the `ref' for any repository
that doesn't have `master' as its default branch (I'm not sure why
this limitation exists since we don't need this when performing
the shallow fetch in `--grammar build')

This `ref' field is ignored by helix, so I have left it undocumented
for now, but I could be open to documenting it.
3 years ago
Michael Davis f31e85aca4
use latest nix-cargo-integration which depends on dream2nix (#1758)
https://github.com/nix-community/dream2nix is a fairly new and
cool-looking project for adapting upstream package manager outputs
(lockfiles mostly it would seem) for nix.

This should improve the ability to cross-compile. As a more concrete
measure of improvement, `nix flake check' now succeeds 🎉
3 years ago
Erin Kim 0ff3e3ea38
Add `inputs.nixpkgs.follows` to `rust-overlay` in `flake.nix` (#1729)
* add `inputs.nixpkgs.follows` to `rust-overlay`

* Update flake.lock
3 years ago
Blaž Hrastnik e7eab95b94 Update to rust 1.58, fix a bunch of optional lints 3 years ago
Jared Ramirez a2fad4fcb0
Fix Nix flake (#1455) 3 years ago
Blaž Hrastnik 8208d22601 nix: Update flake.lock 3 years ago
Blaž Hrastnik 34f46e7502 Bump rust to 1.57, fix new lint failures 3 years ago
Blaž Hrastnik a45df12699 nix: Update to lld 13, drop flake-compat (was unused) 3 years ago
Blaž Hrastnik 182a59b552 Update to rust 1.56 + 2021 edition 3 years ago
Yusuf Bera Ertan 004c8fd462 chore(nix): update flake inputs and submodule 3 years ago
Blaž Hrastnik 08967baef6 flake: Update dependencies 3 years ago
Blaž Hrastnik 6cd77ef380 nix: Update flake 3 years ago
Blaž Hrastnik b3aefe18cd nix: Update flake 3 years ago
Yusuf Bera Ertan 41f62c3157 build(nix): fix build issues 3 years ago
Yusuf Bera Ertan 6dddd5cd1d build(nix): fetch submodules lazily 3 years ago
Malte Voos 2cbec2b047 Update flake.lock
Closes #302
3 years ago
Yusuf Bera Ertan ca02024199 chore(nix): update nixCargoIntegration input 3 years ago
Yusuf Bera Ertan a3f01503e2 build(nix): use nix-cargo-integration, make shell.nix use flake devshell 4 years ago
Timothy DeHerrera 1a774d61bb Fix flake package 4 years ago
Blaž Hrastnik d5466eddf5 Update flake deps 4 years ago
Blaž Hrastnik dbeae43fbe Bump deps: rust 1.52. 4 years ago
Blaž Hrastnik b6a22e955b Closer to a full flake build via naersk.
Blocked on https://github.com/NixOS/nix/issues/4423, build doesn't see
submodules.
4 years ago
Blaž Hrastnik 5253f40477 nix: Switch to stable rust. 4 years ago
Blaž Hrastnik 4103349be1 Update flake.lock 4 years ago
Blaž Hrastnik 7865ca7ef0 Update flake. 4 years ago
Blaž Hrastnik 4102992c46 Bump deps. 4 years ago
Blaž Hrastnik 41c0d5828f flake: Packaging definition. 4 years ago
Blaž Hrastnik 6dba0516f2 flake: Update deps. 4 years ago
Blaž Hrastnik 755632f231 deps update 4 years ago
Blaž Hrastnik 4b2b62ebc6 Update flake definition. 4 years ago
Blaž Hrastnik f1539cc866 Add a nix flake with the development environment. 4 years ago