Commit Graph

13 Commits

Author SHA1 Message Date
Ryan Mulligan
cbdaa444df only support x86_64-linux
eachDefaultSystem was giving error messages like:

$ nix flake show
git+file:///home/ryantm/p/nixpkgs-update?ref=update-nixpkgs-ghc&rev=a9c8aded8f9f47679113c786e8a10e7556a05848
├───defaultPackage
error: --- Error ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ nix
error: --- Error --- nix-daemon
a 'aarch64-linux' with features {} is required to build '/nix/store/ni5699wkzqsjbw8zpbrdgfkig2hs7jhf-remove-references-to.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test}
(use '--show-trace' to show detailed location information)
2020-10-18 10:15:36 -07:00
Ryan Mulligan
a9c8aded8f fix "nix-shell" with system-parameterized flakes 2020-10-18 09:56:02 -07:00
Ryan Mulligan
29575b3a38 parameterize flake.nix over systems 2020-10-18 09:31:10 -07:00
Ryan Mulligan
7d00a39e46 update nixpkgs pin to latest; use latest standard ghc 2020-10-18 07:12:11 -07:00
Jan Tojnar
12287b8560
Fetch flake-compat with flakes
We no longer need to use niv.
2020-10-18 13:29:13 +02:00
Ryan Mulligan
5749f0029a Remove cachix option
If you want to continue to use cachix, you need to set up a post-build
hook that pushes to cachix instead of using nixpkgs-update.
2020-08-17 21:11:26 -07:00
Ryan Mulligan
a5f0175437 add todo about locking down cachix dependency 2020-08-01 07:51:29 -07:00
Ryan Mulligan
117a5b3c08 don't return shell env unless requesting shell 2020-08-01 07:05:26 -07:00
Ryan Mulligan
c0b71beded disable library profiling
This was causing the project to get compiled twice on every build. If
someone needs profiling they can turn this off temporarily.
2020-07-31 21:54:17 -07:00
Ryan Mulligan
ea7db0dbc7 fix shell-nix; reformat flake.nix 2020-07-23 21:32:16 -07:00
Ryan Mulligan
37370f6214 potentially fix bug with devshell building 2020-07-21 06:06:27 -07:00
Ryan Mulligan
b52b9a0f3c bake dependency references into executable
instead of relying on, for example, hub being on the PATH, use a
specific version from the build environment.

closes #217
2020-07-20 21:19:24 -07:00
Ryan Mulligan
20732a3014 add flake.nix 2020-06-09 21:30:48 -07:00