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"
},
"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": {

View file

@ -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;

View file

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