add deno 2

This commit is contained in:
Thilo Billerbeck 2024-10-12 15:29:28 +02:00
parent 9073d5d40d
commit d7b239039d

View file

@ -5,6 +5,9 @@
nixpkgs = { nixpkgs = {
url = "github:NixOS/nixpkgs/nixos-unstable"; url = "github:NixOS/nixpkgs/nixos-unstable";
}; };
nixpkgs-master = {
url = "github:NixOS/nixpkgs/master";
};
nixpkgs-update = { nixpkgs-update = {
url = "github:ryantm/nixpkgs-update"; url = "github:ryantm/nixpkgs-update";
}; };
@ -50,18 +53,24 @@
}; };
outputs = outputs =
{ { nixpkgs
nixpkgs, , nixpkgs-master
home-manager, , home-manager
nixgl, , nixgl
w17, , w17
... , ...
}@inputs: }@inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = import nixpkgs { pkgs = import nixpkgs {
system = "${system}"; system = "${system}";
overlays = [ nixgl.overlay ]; overlays = [
nixgl.overlay
(final: prev: {
inherit (nixpkgs-master.legacyPackages.${prev.system})
deno;
})
];
allowUnfree = true; allowUnfree = true;
}; };
in in