Commit Graph

27 Commits

Author SHA1 Message Date
Cainã Costa acbbcc7f72 chore[nix]: remove unused cargoBuildFlags
We are overriding the buildPhase, so no need to have that anymore.
2023-07-27 10:23:10 -04:00
Cainã Costa 529749f204 feat[nix]: add cargo-insta
It was not packaged before on nixpkgs, it is now, so let's use it.
2023-07-27 10:23:10 -04:00
Cainã Costa a1d7a29482 chore: remove unused deno dependency 2023-07-27 10:23:10 -04:00
Cainã Costa c4810e7035 fix: use pure mkShell for devShell
For some reason, having mkShell with the interface they used makes the
environment not consistent. This changes fixes it.
2023-07-27 10:23:10 -04:00
Cainã Costa a0f0c20f03 feat: add completions to generated nix package 2023-07-25 14:00:29 -04:00
Cainã Costa eac27eff41 feat: add nix overlay
This allows for easier usage of aiken on both NixOS and home-manager
setups, without having to add them to the main nixos repository.
2023-07-25 00:30:36 -04:00
Cainã Costa 079afa0d8c feat: infer crate version from Cargo.toml
We should never have to update flake.nix on release ever again!
2023-07-24 10:24:37 -04:00
Cainã Costa 36cf09ab26 feat: use correct package when building 2023-07-24 10:24:37 -04:00
Cainã Costa 00e9dc3583 chore: add metadata to nix recipe 2023-07-24 10:24:37 -04:00
Cainã Costa 6768a26e5e chore: reduce dependencies to build aiken
We don't need the whole of openssl to build, only the headers. It will
still be installed because we need it to run.
2023-07-24 10:24:37 -04:00
Cainã Costa ce03576a52 chore: update aiken version on nix recipe 2023-07-24 10:24:37 -04:00
Cainã Costa 9212c4a293 chore: remove unnecessary comments 2023-07-09 23:20:29 -04:00
Cainã Costa 887f214514 chore: add OS X dependencies to nix build 2023-07-09 23:20:29 -04:00
Cainã Costa 4a435a69f0 chore: remove cargo2nix
This commit changes from cargo2nix to just use `buildRustPackage`, which
does not generate itermediate crate derivations for the build. This
means that we lose dependency caching (for CI as well), but on the other
hand it becomes much more cacheable for people that actually use Nix to
add the dependencies.
2023-07-09 23:20:29 -04:00
rvcas 41a08e4a06
chore: re-add nix stuff from @waalge
Co-authored-by: waalge
2023-06-07 17:16:56 -04:00
waalge d19fc5b7a3 bump flake and change inputs 2023-04-30 20:32:24 -04:00
waalge c6253d6074 bump flake and change inputs 2023-04-30 20:32:24 -04:00
Micah Kendall 29d76a3d89 bump cargo2nix 2023-04-26 18:39:21 +08:00
waalge 8be95e6961 bump rustc version 2023-03-21 11:38:07 +00:00
waalge f2e5b0b89b Add Deno to nix.
Chose to use nixos unstable otherwise version is lagging.
2023-03-15 12:24:35 -04:00
waalge e8feb10505 chore: bump rust version in nix
- Had to move to cargo2nix/unstable;
the previous release topped out at 1.61.0,
but dependency `clap_lex v0.3.2` requires >= 1.64.0
2023-03-08 11:03:50 +00:00
waalge 031507bea2 nix fmt 2023-02-23 21:26:38 -05:00
waalge 079017d24c make default devshell allow for actual devving 2023-02-23 21:26:38 -05:00
waalge 5d984d7ee4 added workspace devshell 2023-02-23 21:26:38 -05:00
Micah Kendall 590f40139f
Add support for Nix flakes.
This relies on Cargo2Nix, and because we don't want to be maintaining
  that file by hand, we introduce a new continuous workflow to
  automatically update the generated Cargo.nix and submit a PR whenever
  something is merged into master.

  This should make the process of supporting Nix bearable. We'll
  re-assess in a while.

  Co-authored-by: KtorZ <matthias.benkort@gmail.com>
2023-02-07 13:16:17 +01:00
rvcas 53b2adb7df
chore: remove some nix stuff 2022-10-24 00:53:17 -04:00
John Rinehart 0e5d25b019 feat: add a nix flake
nix flake init --template github:nixos/templates#rust
2022-08-07 21:07:53 -04:00