aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/flake.nix b/flake.nix
index a3e458f..242ba02 100644
--- a/flake.nix
+++ b/flake.nix
@@ -46,17 +46,21 @@
46 46
47 in 47 in
48 rec { 48 rec {
49 packages.my-project = naersk-lib.buildPackage { 49 packages.sdl-tests = naersk-lib.buildPackage {
50 pname = "sdl-tests"; 50 pname = "sdl-tests";
51 version = "0.1.0"; 51 version = "0.1.0";
52 root = gitignoreSource ./.; 52 root = gitignoreSource ./.;
53 inherit nativeBuildInputs; 53 inherit nativeBuildInputs;
54 }; 54 };
55 defaultPackage = packages.my-project; 55 defaultPackage = packages.sdl-tests;
56 apps.my-project = utils.lib.mkApp { 56 apps.sdl-tests = utils.lib.mkApp {
57 drv = packages.my-project; 57 drv = packages.sdl-tests;
58 }; 58 };
59 defaultApp = apps.my-project; 59 apps.check = {
60 type = "app";
61 program = "${pkgs.cargo-watch}/bin/cargo-watch";
62 };
63 defaultApp = apps.sdl-tests;
60 devShell = pkgs.mkShell { 64 devShell = pkgs.mkShell {
61 nativeBuildInputs = nativeBuildInputs ++ [ 65 nativeBuildInputs = nativeBuildInputs ++ [
62 rust 66 rust