diff options
| author | Raymond Hogenson <rhogenson@posteo.net> | 2020-04-12 19:13:29 -0700 |
|---|---|---|
| committer | Raymond Hogenson <rhogenson@posteo.net> | 2020-04-12 19:13:29 -0700 |
| commit | cf5c2686d101d6c075020edb1ea8b82320e970d9 (patch) | |
| tree | fc88662ad043d65899d764bcc79208cc8a853949 /default.nix | |
| parent | Fix a typo which prevented compiling (diff) | |
| download | stallman-shooter-cf5c2686d101d6c075020edb1ea8b82320e970d9.tar.zst | |
Fix nix build and typo in loss screen.
Diffstat (limited to 'default.nix')
| -rw-r--r-- | default.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/default.nix b/default.nix index 738d469..cd61229 100644 --- a/default.nix +++ b/default.nix @@ -1,6 +1,5 @@ -with import <nixpkgs> {}; -((import ./bullet_hell.nix).bullet_hell {}).override { - crateOverrides = defaultCrateOverrides // { - bullet-hell = attrs: { buildInputs = [ SDL2 SDL2_image ]; }; - }; +{ pkgs ? import <nixpkgs> {} }: + +((import ./Cargo.nix).stallman_shooter {}).override { + buildInputs = [ pkgs.SDL2 pkgs.SDL2_image ]; } |
