mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-14 21:08:49 +01:00
add deno 2
This commit is contained in:
parent
9073d5d40d
commit
d7b239039d
1 changed files with 16 additions and 7 deletions
23
flake.nix
23
flake.nix
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue