summaryrefslogtreecommitdiffstats
path: root/default.nix
diff options
context:
space:
mode:
authorRaymond Hogenson <rhogenson@posteo.net>2020-04-12 19:13:29 -0700
committerRaymond Hogenson <rhogenson@posteo.net>2020-04-12 19:13:29 -0700
commitcf5c2686d101d6c075020edb1ea8b82320e970d9 (patch)
treefc88662ad043d65899d764bcc79208cc8a853949 /default.nix
parentFix a typo which prevented compiling (diff)
downloadstallman-shooter-cf5c2686d101d6c075020edb1ea8b82320e970d9.tar.zst
Fix nix build and typo in loss screen.
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix9
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 ];
}