Try with modified deno2nix flake

This commit is contained in:
Benjamin Bädorf 2023-02-08 16:25:10 +01:00
parent 4959ba404f
commit dc9a774ccb
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
3 changed files with 18 additions and 13 deletions

View file

@ -8,17 +8,17 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1670990547, "lastModified": 1675869640,
"narHash": "sha256-XlHaXfeqEWRKMTk+OI20Ku3Fb2pUET5gXwOxLOlVQ+U=", "narHash": "sha256-HkSiT3VWfHaAUa/usB6+ywXKejZI7bh6yIoh2bTa0eE=",
"owner": "SnO2WMaN", "ref": "refs/heads/main",
"repo": "deno2nix", "rev": "0b54d6ce4424039951c1c12cc4319836b76c1eaf",
"rev": "15b4c19f42db3f91175f93a2982e294b5895332e", "revCount": 32,
"type": "github" "type": "git",
"url": "https://git.pub.solar/b12f/deno2.nix.git"
}, },
"original": { "original": {
"owner": "SnO2WMaN", "type": "git",
"repo": "deno2nix", "url": "https://git.pub.solar/b12f/deno2.nix.git"
"type": "github"
} }
}, },
"devshell": { "devshell": {

View file

@ -4,21 +4,21 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
deno2nix.url = "github:SnO2WMaN/deno2nix";
flake-utils.url = "github:numtide/flake-utils"; flake-utils.url = "github:numtide/flake-utils";
devshell.url = "github:numtide/devshell"; devshell.url = "github:numtide/devshell";
devshell.inputs.flake-utils.follows = "flake-utils"; devshell.inputs.flake-utils.follows = "flake-utils";
devshell.inputs.nixpkgs.follows = "nixpkgs"; devshell.inputs.nixpkgs.follows = "nixpkgs";
deno2nix.url = "git+https://git.pub.solar/b12f/deno2.nix.git";
}; };
outputs = { outputs = {
self, self,
deno2nix, nixpkgs,
flake-utils, flake-utils,
devshell, devshell,
nixpkgs, deno2nix,
}: }:
flake-utils.lib.simpleFlake { flake-utils.lib.simpleFlake {
inherit self nixpkgs; inherit self nixpkgs;

View file

@ -12,6 +12,11 @@ final: prev:
lockfile = "./deno.lock"; lockfile = "./deno.lock";
config = "./deno.json"; config = "./deno.json";
buildInputs = [
sane-backends
python39Packages.img2pdf
];
allow = { allow = {
"write" = true; "write" = true;
"env" = true; "env" = true;