From 3cf2615bd4894c2036bf2e75bbdbe020dfe19a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kier=C3=A1n=20Meinhardt?= Date: Thu, 25 Dec 2025 08:34:53 +0100 Subject: [PATCH] do not import nixpkgs with lookup path --- configs/admin-essentials.nix | 2 +- packages/jsesh.nix | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/configs/admin-essentials.nix b/configs/admin-essentials.nix index 0fbc485..21bc363 100644 --- a/configs/admin-essentials.nix +++ b/configs/admin-essentials.nix @@ -85,7 +85,7 @@ in { ''; in { - nixi = "nix repl ''"; + nixi = "nix repl nixpkgs"; take = "source ${take}"; wcd = "source ${wcd}"; where = "source ${where}"; diff --git a/packages/jsesh.nix b/packages/jsesh.nix index 481a28d..1c8b3ee 100644 --- a/packages/jsesh.nix +++ b/packages/jsesh.nix @@ -1,7 +1,13 @@ -{pkgs ? import {}}: -pkgs.writers.writeDashBin "jsesh" '' - ${pkgs.jre}/bin/java -jar ${pkgs.fetchzip { - url = "https://github.com/rosmord/jsesh/releases/download/release-7.5.5/JSesh-7.5.5.zip"; - sha256 = "1z7ln51cil9pypz855x9a8p9ip2aflvknh566wcaah1kmz3fp57r"; - }}/lib/jseshAppli-7.5.5.jar +{ + writers, + jre, + fetchzip, +}: +writers.writeDashBin "jsesh" '' + ${jre}/bin/java -jar ${ + fetchzip { + url = "https://github.com/rosmord/jsesh/releases/download/release-7.5.5/JSesh-7.5.5.zip"; + sha256 = "1z7ln51cil9pypz855x9a8p9ip2aflvknh566wcaah1kmz3fp57r"; + } + }/lib/jseshAppli-7.5.5.jar ''