diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..dade030 --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1756542300, + "narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "d7600c775f877cd87b4f5a831c28aa94137377aa", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix index d02576e..1595293 100644 --- a/flake.nix +++ b/flake.nix @@ -8,9 +8,16 @@ outputs = { self, nixpkgs, - }: { - packages.x86_64-linux.hello = nixpkgs.legacyPackages.x86_64-linux.hello; + }: let + system = "x86_64-linux"; + pkgs = import nixpkgs {inherit system;}; + in { + devShells.default = pkgs.mkShell { + buildInputs = with pkgs; [ + openssl + ]; - packages.x86_64-linux.default = self.packages.x86_64-linux.hello; + nativeBuildInputs = [pkgs.pkg-config]; + }; }; }