summaryrefslogtreecommitdiff
path: root/nix/whisper
diff options
context:
space:
mode:
Diffstat (limited to 'nix/whisper')
-rw-r--r--nix/whisper/flake.lock27
-rw-r--r--nix/whisper/flake.nix20
2 files changed, 47 insertions, 0 deletions
diff --git a/nix/whisper/flake.lock b/nix/whisper/flake.lock
new file mode 100644
index 00000000..f4e9c15b
--- /dev/null
+++ b/nix/whisper/flake.lock
@@ -0,0 +1,27 @@
+{
+ "nodes": {
+ "nixpkgs": {
+ "locked": {
+ "lastModified": 1727802920,
+ "narHash": "sha256-HP89HZOT0ReIbI7IJZJQoJgxvB2Tn28V6XS3MNKnfLs=",
+ "owner": "NixOS",
+ "repo": "nixpkgs",
+ "rev": "27e30d177e57d912d614c88c622dcfdb2e6e6515",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NixOS",
+ "ref": "nixos-unstable",
+ "repo": "nixpkgs",
+ "type": "github"
+ }
+ },
+ "root": {
+ "inputs": {
+ "nixpkgs": "nixpkgs"
+ }
+ }
+ },
+ "root": "root",
+ "version": 7
+}
diff --git a/nix/whisper/flake.nix b/nix/whisper/flake.nix
new file mode 100644
index 00000000..8e3e328f
--- /dev/null
+++ b/nix/whisper/flake.nix
@@ -0,0 +1,20 @@
+{
+ inputs = {
+ nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
+ };
+ outputs = { self, nixpkgs }:
+ let
+ pkgs = import nixpkgs {
+ system = "x86_64-linux";
+ overlays = [];
+ };
+ shell = pkgs.mkShell {
+ NIX_HARDENING_ENABLE = "";
+ buildInputs = [
+ pkgs.SDL2
+ ];
+ };
+ in {
+ devShells.x86_64-linux.default = shell;
+ };
+}