summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
m---------deps/st0
-rw-r--r--flake.nix11
3 files changed, 9 insertions, 5 deletions
diff --git a/.gitmodules b/.gitmodules
index 54d7aef..e69de29 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +0,0 @@
-[submodule "deps/st"]
- path = deps/st
- url = git@github.com:lcolonq/st.git
diff --git a/deps/st b/deps/st
deleted file mode 160000
-Subproject e982b1d75eda54ab6b3051675fb21d32b3731bb
diff --git a/flake.nix b/flake.nix
index 11b9592..4fbff85 100644
--- a/flake.nix
+++ b/flake.nix
@@ -14,9 +14,13 @@
flake-utils.follows = "flake-utils";
};
};
+ st = {
+ url = "github:lcolonq/st";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
- outputs = { self, nixpkgs, crane, flake-utils, rust-overlay, nixpkgs-for-wasm-bindgen, ... }:
+ outputs = { self, nixpkgs, crane, flake-utils, rust-overlay, st, nixpkgs-for-wasm-bindgen, ... }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
@@ -67,7 +71,10 @@
});
in
{
- packages.default = game;
+ packages = {
+ default = game;
+ inherit st;
+ };
devShells.default = craneLib.devShell {
packages = [