diff options
| author | Raymond Hogenson <rhogenson@posteo.net> | 2018-08-18 08:34:37 -0400 |
|---|---|---|
| committer | Raymond Hogenson <rhogenson@posteo.net> | 2018-08-18 08:34:37 -0400 |
| commit | 7ba26044a78df1f87604d74754da3d28393607f7 (patch) | |
| tree | 2b6acd76f1c6a0f889956254f563dd3bb8be9f35 | |
| parent | 804206beeb82671552ccd9b689b303a1251fade0 (diff) | |
| download | stallman-shooter-7ba26044a78df1f87604d74754da3d28393607f7.tar.zst | |
Rename the nix file and include in git
bullet_hell.nix is the automatically generated one, default.nix is my
hand-crafted file to build the expression, given the automatically
generated file as an input. Really carnix should have the capability to
do this by itself, but I'm trying my best.
| -rw-r--r-- | .gitignore | 3 | ||||
| -rw-r--r-- | default.nix | 6 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,5 @@ - /target/ **/*.rs.bk result -default.nix Cargo.lock +bullet_hell.nix diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..a9e20f7 --- /dev/null +++ b/default.nix @@ -0,0 +1,6 @@ +with import <nixpkgs> {}; +((import ./bullet_hell.nix).bullet_hell {}).override { + crateOverrides = defaultCrateOverrides // { + bullet-hell = attrs: { buildInputs = [ SDL2 ]; }; + }; +} |
