From 133170f6ade75a509cd8965897edd41e20c1adfa Mon Sep 17 00:00:00 2001 From: nek0 Date: Thu, 1 Dec 2022 21:19:13 +0100 Subject: [PATCH] update flake --- flake.lock | 42 ++++++++++++++++++++++++++++++++++++++++++ flake.nix | 4 ++++ 2 files changed, 46 insertions(+) create mode 100644 flake.lock diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..bf447f0 --- /dev/null +++ b/flake.lock @@ -0,0 +1,42 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1669897001, + "narHash": "sha256-5xESSKSgBPhjctRYUzES8RiMo+OmA2E/D74RNULQb9M=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "dcc26b62da6963053c299af3e19b89b94924edec", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix index 3b21994..edcbf67 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,10 @@ ghcid cabal-install ]; + nativeBuildInputs = with pkgs; [ + pkg-config + SDL2 + ]; inputsFrom = builtins.attrValues self.packages.${system}; }; });