diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6a89422 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +uiua-modules/ diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..0644bfd --- /dev/null +++ b/flake.lock @@ -0,0 +1,108 @@ +{ + "nodes": { + "crane": { + "locked": { + "lastModified": 1760924934, + "narHash": "sha256-tuuqY5aU7cUkR71sO2TraVKK2boYrdW3gCSXUkF4i44=", + "owner": "ipetkov", + "repo": "crane", + "rev": "c6b4d5308293d0d04fcfeee92705017537cad02f", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": [ + "uiua", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1762040540, + "narHash": "sha256-z5PlZ47j50VNF3R+IMS9LmzI5fYRGY/Z5O5tol1c9I4=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "0010412d62a25d959151790968765a70c436598b", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1779560665, + "narHash": "sha256-tpyBcxPpcQb8ukyNF7DoCwfSY3VPsxHoYwj00Cayv5o=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "64c08a7ca051951c8eae34e3e3cb1e202fe36786", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "uiua": "uiua" + } + }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "uiua", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1761964689, + "narHash": "sha256-Zo3LQQDz+64EQ9zor/WmeNTFLoZkjmhp0UY3G0D3seE=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "63d22578600f70d293aede6bc737efef60ebd97f", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "uiua": { + "inputs": { + "crane": "crane", + "flake-parts": "flake-parts", + "nixpkgs": [ + "nixpkgs" + ], + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1780283609, + "narHash": "sha256-21obqfTG+jcTO1LP0au4kkV53fP6H08i+z8YQzglquI=", + "owner": "uiua-lang", + "repo": "uiua", + "rev": "c781af59ae8745b3035db168925bbc9104eb4e9f", + "type": "github" + }, + "original": { + "owner": "uiua-lang", + "repo": "uiua", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..14d9033 --- /dev/null +++ b/flake.nix @@ -0,0 +1,23 @@ +{ + description = "wawa"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + uiua = { + url = "github:uiua-lang/uiua"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + }; + + outputs = { self, nixpkgs, uiua }@inputs: + let + system = "x86_64-linux"; + pkgs = import nixpkgs { inherit system; }; + in { + devShells.${system}.default = pkgs.mkShell { + buildInputs = with pkgs; [ + inputs.uiua.packages.${system}.default + ]; + }; + }; +}