diff --git a/flake.lock b/flake.lock new file mode 100644 index 00000000..ff6b166a --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1701626906, + "narHash": "sha256-ugr1QyzzwNk505ICE4VMQzonHQ9QS5W33xF2FXzFQ00=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "0c6d8c783336a59f4c59d4a6daed6ab269c4b361", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 00000000..c7f675d4 --- /dev/null +++ b/flake.nix @@ -0,0 +1,16 @@ +# quick n dirty dev shell +# TODO: proper nix flake? + +{ + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + }; + + outputs = { self, nixpkgs }: let + pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + devShell.x86_64-linux = pkgs.mkShell { + nativeBuildInputs = with pkgs; [openssl pkg-config]; + }; + }; +}