Commit Graph

11 Commits

Author SHA1 Message Date
a-kenji
bc44a77f1c
add: plugins to nix builds (#1314)
* add: plugins to nix builds

* chore(fmt): treefmt
2022-04-12 09:25:25 +02:00
a-kenji
ac3c09066b
fix: rust-toolchain -> rust-toolchain.toml (#1313)
The new location has been stable for a year, by now peoples toolchains
should have been able to catch up.
2022-04-12 08:15:13 +02:00
a-kenji
c5ce9834d3
add(nix): overlays for zellij to flake outputs (#1312)
Add `overlays` to the flake outputs.

- the `default` `overlay` supplies the package with the `zellij` name
- the `nightly` `overlay` supplies the package with the `zellij-nightly` name
2022-04-11 15:46:09 +02:00
a-kenji
4d69ef6284
add: musl package to nix (#1297)
Build a musl package from the repo, by invoking:
```
nix build "github:zellij-org/zellij#zellij-musl"
```
makes it possible to build bundled applications, that don't need patches
to run:
```
nix bundle --bundler github:NixOS/bundlers#toDEB "github:zellij-org/zellij#zellij-musl"
```
This will build a `.deb` file, that can be installed with apt.
2022-04-04 20:51:53 +02:00
a-kenji
54f7143249
fix: remove redundant rustc from buildInputs (#1296)
Move `ructc` & `cargo` to devInput, for the devShell.
2022-04-04 20:51:01 +02:00
a-kenji
ccd9a55a9b
add(ci): install cargo-make through nix (#1233)
* add(ci): install `cargo-make` through `nix`

Should speed the e2e tests up by about 2 minutes.

Can easily reverted by `commenting/uncommenting`
the `run` part of the `Install cargo-make` step.

* check if cachix speeds the process up
2022-03-17 14:00:48 +01:00
a-kenji
54b0859e40
fix(nix): fix makeDesktopItem (#1215) 2022-03-13 13:43:29 +01:00
a-kenji
bd849574be
add(nix): treefmt / alejandra (#1201)
* add(nix): treefmt / alejandra

* fmt the nix tree

* add fmt check for nix to ci

* switch `nixpkgs-fmt` -> `alejandra`
2022-03-10 16:27:39 +01:00
a-kenji
a66ce1c86c
build(nix): apply overlay for crate2nix (#1198) 2022-03-10 14:59:40 +01:00
a-kenji
1481fdf63f
build(nix): apply overrrides correctly (#1194)
Overrides in the global scope dont apply all
attributes for the package in `crate2nix`.
2022-03-09 08:52:52 +01:00
a-kenji
f5ae10de78
add(nix): add crate2nix (#1181)
* add(nix): add crate2nix

To have a better experience on ci, due to improved caching
of dependencies. Also organize file hierarchy slightly.

* ci(nix): manually check a default system

Is needed because `nix flake check` accidentally tries to build IFD.
2022-03-06 14:28:54 +01:00