1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00

do not import nixpkgs with lookup path

This commit is contained in:
2025-12-25 08:34:53 +01:00
parent 07756a0660
commit 936ae927b7
2 changed files with 13 additions and 7 deletions

View File

@@ -85,7 +85,7 @@ in {
'';
in
{
nixi = "nix repl '<nixpkgs>'";
nixi = "nix repl nixpkgs";
take = "source ${take}";
wcd = "source ${wcd}";
where = "source ${where}";

View File

@@ -1,7 +1,13 @@
{pkgs ? import <nixpkgs> {}}:
pkgs.writers.writeDashBin "jsesh" ''
${pkgs.jre}/bin/java -jar ${pkgs.fetchzip {
{
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
}
}/lib/jseshAppli-7.5.5.jar
''