From dc9a774ccb66c9b3f3444f24e83d369210395a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Wed, 8 Feb 2023 16:25:10 +0100 Subject: [PATCH] Try with modified deno2nix flake --- flake.lock | 18 +++++++++--------- flake.nix | 8 ++++---- overlay.nix | 5 +++++ 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/flake.lock b/flake.lock index cf00573..fa8351e 100644 --- a/flake.lock +++ b/flake.lock @@ -8,17 +8,17 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1670990547, - "narHash": "sha256-XlHaXfeqEWRKMTk+OI20Ku3Fb2pUET5gXwOxLOlVQ+U=", - "owner": "SnO2WMaN", - "repo": "deno2nix", - "rev": "15b4c19f42db3f91175f93a2982e294b5895332e", - "type": "github" + "lastModified": 1675869640, + "narHash": "sha256-HkSiT3VWfHaAUa/usB6+ywXKejZI7bh6yIoh2bTa0eE=", + "ref": "refs/heads/main", + "rev": "0b54d6ce4424039951c1c12cc4319836b76c1eaf", + "revCount": 32, + "type": "git", + "url": "https://git.pub.solar/b12f/deno2.nix.git" }, "original": { - "owner": "SnO2WMaN", - "repo": "deno2nix", - "type": "github" + "type": "git", + "url": "https://git.pub.solar/b12f/deno2.nix.git" } }, "devshell": { diff --git a/flake.nix b/flake.nix index 084eef1..05e3981 100644 --- a/flake.nix +++ b/flake.nix @@ -4,21 +4,21 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - deno2nix.url = "github:SnO2WMaN/deno2nix"; - flake-utils.url = "github:numtide/flake-utils"; devshell.url = "github:numtide/devshell"; devshell.inputs.flake-utils.follows = "flake-utils"; devshell.inputs.nixpkgs.follows = "nixpkgs"; + + deno2nix.url = "git+https://git.pub.solar/b12f/deno2.nix.git"; }; outputs = { self, - deno2nix, + nixpkgs, flake-utils, devshell, - nixpkgs, + deno2nix, }: flake-utils.lib.simpleFlake { inherit self nixpkgs; diff --git a/overlay.nix b/overlay.nix index d60ed9b..28b5e75 100644 --- a/overlay.nix +++ b/overlay.nix @@ -12,6 +12,11 @@ final: prev: lockfile = "./deno.lock"; config = "./deno.json"; + buildInputs = [ + sane-backends + python39Packages.img2pdf + ]; + allow = { "write" = true; "env" = true;