Commit Graph

12 Commits

Author SHA1 Message Date
Yusuf Bera Ertan
81bc3d1966
build(nix): fix git ref not found and git lfs check 2021-06-19 22:05:22 +03:00
Yusuf Bera Ertan
e27a6fcaa1
build(nix): switch back to master branch nix-cargo-integration, use defaultOutputs 2021-06-13 19:33:38 +03:00
Yusuf Bera Ertan
faf5b3fc9c
chore(deps): update nix flake deps 2021-06-13 19:29:28 +03:00
Yusuf Bera Ertan
221e848b71
chore(deps): update nix flake deps 2021-06-03 23:33:13 +03:00
Yusuf Bera Ertan
57bfe95939
chore(deps): update nix flake deps 2021-05-04 11:57:14 +03:00
Yusuf Bera Ertan
aecdd19767
chore(deps): update nix flake deps 2021-04-29 05:01:05 +03:00
Yusuf Bera Ertan
685f4971ac
build(nix): switch to crate2nix 2021-04-27 05:18:12 +03:00
Yusuf Bera Ertan
62844d816a
build(nix): switch to nix-cargo-integration 2021-04-17 21:37:57 +03:00
Yusuf Bera Ertan
ff1d86cee3
chore(deps): update nix flake lock 2021-04-15 00:19:55 +03:00
Yusuf Bera Ertan
e9a7ff7dd7
build(nix): switch to naersk 2021-03-23 16:02:47 +03:00
Yusuf Bera Ertan
9e62a6c322
nix: update README, remove nixGL selection from dev shell (which also removes envrc-nvidia), update envrc to be used by both flakes, tidy up some stuff 2020-12-12 17:10:54 +03:00
Ludvig Böklin
3f498522db flake-compat (unify flake and non-flake build process/environment)
The only user-facing changes is the process for version pinning, which will be
slightly less convenient without access to the `nix flake` feature. This is
justified by it rarely being necessary, for the benefit of relying on an
upcoming built-in nix feature rather than a non-standard third-party tool.

- deprecate `niv` for version pinning
- legacy nix now uses the flake via `flake-compat`
  - remove `sources.{nix,json}` (versions now pinned in `flake.lock`)
  - move contents of `nix/default.nix` to `nix/veloren.nix`
  - make `nix-build nix/default.nix` produce the same output as `flake build`
  - move contents of `nix/shell.nix` into `nix/devShell.nix`
  - make `nix-shell nix/shell.nix` produce the same environment as `flake develop`
- Move `tag` parameter into `sourceInfo`
- Tidy up and autoformat with `nixpkgs-fmt`
- update README to reflect new usage
- revert input versions to match those previously specified in nix/sources.json
2020-12-11 12:00:04 +00:00