diff options
author | axtloss <axtlos@getcryst.al> | 2024-03-04 23:59:16 +0100 |
---|---|---|
committer | axtloss <axtlos@getcryst.al> | 2024-03-04 23:59:16 +0100 |
commit | 0f5bd8e774b4746c27d9a573057d57770e1cf0de (patch) | |
tree | 018e4204e5f69579d1a01ce3d70e591a14ca7664 | |
parent | 5572670ee868f43a2abba5e0de882bd905f1df0a (diff) | |
download | fsverify-0f5bd8e774b4746c27d9a573057d57770e1cf0de.tar.gz fsverify-0f5bd8e774b4746c27d9a573057d57770e1cf0de.tar.bz2 |
add flake.nix
Diffstat (limited to '')
-rw-r--r-- | flake.lock | 27 | ||||
-rw-r--r-- | flake.nix | 29 |
2 files changed, 56 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..569a760 --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1709309926, + "narHash": "sha256-VZFBtXGVD9LWTecGi6eXrE0hJ/mVB3zGUlHImUs2Qak=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "79baff8812a0d68e24a836df0a364c678089e2c7", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-23.11", + "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 0000000..9337bde --- /dev/null +++ b/flake.nix @@ -0,0 +1,29 @@ +{ + description = "Nix-Flake for fsverify development"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11"; + }; + + outputs = { self , nixpkgs ,... }: let + system = "x86_64-linux"; + in { + devShells."${system}".default = let + pkgs = import nixpkgs { + inherit system; + }; + in pkgs.mkShell { + packages = with pkgs; [ + gopls + go + gcc + raylib + ]; + + shellHook = '' + echo $(go --version) + exec fish + ''; + }; + }; +} |