summaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2024-11-26 03:23:31 -0500
committerLLLL Colonq <llll@colonq>2024-11-26 03:23:31 -0500
commit0b95071fe628d91238549b062961e724088d3b8b (patch)
treeb4cf3ae960e0b52ed014ab4ba423fda1075e5d60 /nix
parent6e3c47b1ad746f0891592a97cc6ffb6e0280adbb (diff)
Update :4
Diffstat (limited to 'nix')
-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;
+ };
+}