diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-04-14 22:31:54 -0700 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 22:35:19 -0700 |
| commit | dc0cc9e659a271fa80e3baf2c9ec478521cc3967 (patch) | |
| tree | 2850ab64369f87501c6bdb293ecd95b79d11d647 | |
| parent | bf7314702e04d3f353c4cf95e887959d9451641b (diff) | |
nixification
| -rw-r--r-- | flake.lock | 27 | ||||
| -rw-r--r-- | flake.nix | 20 |
2 files changed, 47 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..d1fb9aa --- /dev/null +++ b/flake.lock @@ -0,0 +1,27 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1737632463, + "narHash": "sha256-38J9QfeGSej341ouwzqf77WIHAScihAKCt8PQJ+NH28=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "0aa475546ed21629c4f5bbf90e38c846a99ec9e9", + "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 new file mode 100644 index 0000000..68df52c --- /dev/null +++ b/flake.nix @@ -0,0 +1,20 @@ +{ + inputs = rec { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + }; + outputs = inputs @ { + self, + nixpkgs, + ... + }: + let + pkgs = nixpkgs.legacyPackages.x86_64-linux; + in + { + devShells.x86_64-linux.default = pkgs.mkShell { + packages = with pkgs; [ + go + ]; + }; + }; +}
\ No newline at end of file |