commit 90e4683d855c8507e666cbf969a6cc652f6a9348 Author: Tristan Daniƫl Maat Date: Fri Dec 3 02:02:43 2021 +0000 Initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ed4fdbd --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.hi +*.o +/1/depthcounter diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..8b760a8 --- /dev/null +++ b/flake.lock @@ -0,0 +1,24 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1636552551, + "narHash": "sha256-k7Hq/bvUnRlAfFjPGuw3FsSqqspQdRHsCHpgadw6UkQ=", + "path": "/nix/store/79dixgv7ckd5zf325r8v3pjpfqqc553l-source", + "rev": "9e86f5f7a19db6da2445f07bafa6694b556f9c6d", + "type": "path" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..87a4133 --- /dev/null +++ b/flake.nix @@ -0,0 +1,10 @@ +{ + outputs = { nixpkgs, ... }: + let + system = "x86_64-linux"; + pkgs = import nixpkgs { inherit system; }; + in { + devShell."${system}" = + pkgs.mkShell { buildInputs = with pkgs; [ ghc stylish-haskell ]; }; + }; +}