aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
Commit message (Collapse)AuthorAge
* nix flake: make the binary cache "just work" (#2999)Timothy DeHerrera2022-07-09
|
* build(nix): update flake deps, add default.nix fileYusuf Bera Ertan2022-06-21
|
* add rust-analyzer to shell environment (#2739)Daniel Hines2022-06-11
|
* chore(nix): format nix files with alejandra, update deps, minor code ↵Yusuf Bera Ertan2022-06-06
| | | | refactors (#2683)
* Fix build on aarch64-darwin (#1789)Johann Dahm2022-05-03
| | | Co-authored-by: Yusuf Bera Ertan <y.bera003.06@protonmail.com>
* flake: use builtins.fetchTree to shallow-clone grammar reposMichael Davis2022-03-10
| | | | | | | | | | | 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.
* fetch and build grammars with nix in flakeMichael Davis2022-03-10
| | | | | | | | | | | | This commit replaces the out-of-date builder in the flake which relied on submodules for fetching and the compiler for building. Now we disable fetching and building explicitly with the environment variable and then use builtins.fetchGit and a derivation mostly derived from upstream to compile the grammars. Anecdotally, this is still quite slow as builtins.fetchGit does not seem to do shallow clones. I'm not sure I see a way around it though without recording sha256s, which seems cumbersome.
* fetch and compile tree-sitter grammars in helix-term buildMichael Davis2022-03-10
| | | | | | | This restores much of the behavior that existed before this PR: helix will build the grammars when compiling. The difference is that now fetching is also done during the build phase and is done much more quickly - both shallow and in parallel.
* use latest nix-cargo-integration which depends on dream2nix (#1758)Michael Davis2022-03-08
| | | | | | | | 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 🎉
* update helix-syntax revision in flake.nix (#1747)Michael Davis2022-03-05
| | | | | | | | | | | | | | | | | closes #1746 The queries for Go were updated in ddbf03613d5a3dd64f3f5ba13795e70c29297837. The old ref was before this commit, so running helix from the flake nix flake run github:helix-editor/helix/d62ad8b595a4f901b9c5dba1bb6e8f70ece395bf -- path/to/file.go will crash because the old grammar's query analysis will fail (because `iota` was not yet a named node). This commit updates the version of the grammars that we pull down when building the flake so that the queries match the grammars. We'll have to do an update like this whenever a grammar is bumped in a breaking way (which happens fairly often in tree-sitter) until #1659 comes along and the version of the grammar becomes tied to the version declared in source.
* Add `inputs.nixpkgs.follows` to `rust-overlay` in `flake.nix` (#1729)Erin Kim2022-03-03
| | | | | * add `inputs.nixpkgs.follows` to `rust-overlay` * Update flake.lock
* fix: nix flake buildBlaž Hrastnik2022-02-15
|
* Set flags necessary for cargo-flamegraphBlaž Hrastnik2022-01-23
|
* Try to reuse an existing layer based on layer.rangesBlaž Hrastnik2022-01-23
|
* Fix Nix flake (#1455)Jared Ramirez2022-01-13
|
* nix: Update to lld 13, drop flake-compat (was unused)Blaž Hrastnik2021-12-03
|
* nix: Update lld to 12Blaž Hrastnik2021-10-24
|
* Update to rust 1.56 + 2021 editionBlaž Hrastnik2021-10-22
|
* flake: remove hack to fix helix version (#762)Raphael Megzari2021-09-18
|
* chore(nix): update flake inputs and submoduleYusuf Bera Ertan2021-09-12
|
* build(nix): fix build issuesYusuf Bera Ertan2021-07-25
|
* nix: Set up cargo-tarpaulinBlaž Hrastnik2021-06-27
|
* build(nix): fetch submodules lazilyYusuf Bera Ertan2021-06-22
|
* build(nix): use nix-cargo-integration, make shell.nix use flake devshellYusuf Bera Ertan2021-06-13
|
* embed runtimeTimothy DeHerrera2021-06-10
|
* add overlayTimothy DeHerrera2021-06-10
|
* Fix flake packageTimothy DeHerrera2021-06-10
|
* Closer to a full flake build via naersk.Blaž Hrastnik2021-05-03
| | | | | Blocked on https://github.com/NixOS/nix/issues/4423, build doesn't see submodules.
* nix: Switch to stable rust.Blaž Hrastnik2021-04-09
|
* flake: Packaging definition.Blaž Hrastnik2021-02-22
|
* deps updateBlaž Hrastnik2021-02-09
|
* Update flake definition.Blaž Hrastnik2021-02-04
|
* Add a nix flake with the development environment.Blaž Hrastnik2021-01-19