From 3da4b2e1aa8bfc835d475a60b927a0f2728d2753 Mon Sep 17 00:00:00 2001 From: fredrikr79 Date: Fri, 18 Jul 2025 22:04:35 +0200 Subject: [PATCH] add uiua flake input --- flake.lock | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ flake.nix | 7 ++++- home.nix | 1 + 3 files changed, 88 insertions(+), 1 deletion(-) diff --git a/flake.lock b/flake.lock index 8101ff1..e3d64cb 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,20 @@ { "nodes": { + "crane": { + "locked": { + "lastModified": 1751562746, + "narHash": "sha256-smpugNIkmDeicNz301Ll1bD7nFOty97T79m4GUMUczA=", + "owner": "ipetkov", + "repo": "crane", + "rev": "aed2020fd3dc26e1e857d4107a5a67a33ab6c1fd", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, "devshell": { "inputs": { "nixpkgs": [ @@ -56,6 +71,27 @@ "type": "github" } }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": [ + "uiua", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1727826117, + "narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "flake-utils": { "inputs": { "systems": "systems" @@ -283,9 +319,31 @@ "home-manager": "home-manager", "nixpkgs": "nixpkgs", "nixvim": "nixvim", + "uiua": "uiua", "vi-xournalpp": "vi-xournalpp" } }, + "rust-overlay": { + "inputs": { + "nixpkgs": [ + "uiua", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1751510438, + "narHash": "sha256-m8PjOoyyCR4nhqtHEBP1tB/jF+gJYYguSZmUmVTEAQE=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "7f415261f298656f8164bd636c0dc05af4e95b6b", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, @@ -322,6 +380,29 @@ "type": "github" } }, + "uiua": { + "inputs": { + "crane": "crane", + "flake-parts": "flake-parts_2", + "nixpkgs": [ + "nixpkgs" + ], + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1752778198, + "narHash": "sha256-dA1oYGyqAKzQ7M6t2/ovJ7+DpvWjFyX1ZSM7zgIGka0=", + "owner": "uiua-lang", + "repo": "uiua", + "rev": "cc0e504110d87fd898af054883f549654b745a19", + "type": "github" + }, + "original": { + "owner": "uiua-lang", + "repo": "uiua", + "type": "github" + } + }, "vi-xournalpp": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index 4e6378f..0526849 100644 --- a/flake.nix +++ b/flake.nix @@ -26,9 +26,14 @@ # If using a stable channel you can use `url = "github:nix-community/nixvim/nixos-"` inputs.nixpkgs.follows = "nixpkgs"; }; + + uiua = { + url = "github:uiua-lang/uiua"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = { self, nixpkgs, home-manager, nixvim, ... } @ inputs: + outputs = { self, nixpkgs, home-manager, nixvim, uiua, ... } @ inputs: let system = "x86_64-linux"; pkgs = import nixpkgs { diff --git a/home.nix b/home.nix index 7e775b1..1546b57 100644 --- a/home.nix +++ b/home.nix @@ -89,6 +89,7 @@ in { jujutsu ungoogled-chromium mpv + inputs.uiua.packages."${system}".default ]; # Home Manager is pretty good at managing dotfiles. The primary way to manage