aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
Commit message (Collapse)AuthorAge
* nix: update flake inputs (#8943)Evan Richter2023-12-04
| | | * removed non-existent crane flake input overrides
* Build flake packages with stable Rust (#8133)Michael Davis2023-08-31
| | | | | We can continue to use the MSRV for local development and checks while building release executables with the latest stable Rust, as we do in CI.
* Copy desktop and icon files to Nix output (#7979)Tanguy2023-08-29
|
* Refactor Nix flake to use crane (#7763)Michael Davis2023-07-28
| | | | | | | | | | | | This resolves a build issue with nci/dream2nix and git dependencies. We can keep most of the helix-specific parts of the flake, we just need to switch from configuring nci to calling craneLib functions. We also switch to flake-utils from flake-parts: * Using rust-overlay with flake-parts directly is unergonomic (see https://github.com/hercules-ci/flake-parts/discussions/83). * Removing flake-parts reduces the overall dependencies: rust-overlay already depends on flake-utils.
* nix: add overlay for convenient package usage (#7078)Yt2023-05-19
|
* build(nix): update flake dependencies, remove deprecated code from flakeYusuf Bera Ertan2023-04-01
|
* build(nix): fix devshellYusuf Bera Ertan2023-02-25
|
* build(nix): update flake to use flake-parts and nci flake-parts moduleYusuf Bera Ertan2023-02-25
|
* flake: pass helix' wrapper through (#5994)Austreelis2023-02-17
| | | | | This allows easily (re)making helix (wrapped) from an overriden helix-unwrapped derivation, e.g. if one wanted to patch helix from nix.
* flake: Fix devshell for darwin hosts (#5368)Michael Davis2023-01-02
| | | | | | | | | | | | | | Runs of `cargo build` would fail with `ld: framework not found CoreFoundation` inside a devshell (`nix develop`) on a Darwin host. This is fixed with two changes: * Including the `CoreFoundation` package within the devshell's derivation. * Switching from `value` to `eval` so that we append to the `RUSTFLAGS` environment variable rather than overwriting it. `numtide/devshell` already exposes the `Library/Frameworks` path within the devshell derivation but it was being overwritten by the manual setting of `RUSTFLAGS` in `env`.
* build(nix): don't run tests in builds since CI runs them already, update ↵Yusuf Bera Ertan2022-11-21
| | | | inputs (#4834)
* build(nix): update nci, fixup flake (#4537)Yusuf Bera Ertan2022-11-01
|
* flake: Fix devShell on aarch64-darwin (#3810)Michael Davis2022-09-13
| | | | LLDB is marked broken on all arches except for x86_64-linux. With this change, I can use `nix develop` on aarch64-darwin.
* build(nix): update nci, refactor flake, seperate wrapping, add source ↵Yusuf Bera Ertan2022-09-02
| | | | filtering (#3657)
* Only add cargo-tarpaulin on x86_64 (#3252)Charlie Groves2022-07-31
| | | Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* build(nix): add a way to override what grammars get built (#3141)Yusuf Bera Ertan2022-07-27
|
* nix: pass makeWrapperArgs to wrapProgram (#3003)Timothy DeHerrera2022-07-09
|
* 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