Pull in Hugo from unstable nixpkgs
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
13
flake.nix
13
flake.nix
@@ -1,6 +1,7 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; # for Hugo
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
resume.url = "git+https://dev.danilafe.com/DanilaFe/resume";
|
||||
resume.inputs.nixpkgs.follows = "nixpkgs";
|
||||
@@ -14,12 +15,20 @@
|
||||
web-files.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { self, blog-source, nixpkgs, flake-utils, resume, web-files }:
|
||||
outputs = { self, blog-source, nixpkgs, nixpkgs-unstable, flake-utils, resume, web-files }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
lib = import ./lib.nix {
|
||||
inherit blog-source;
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
||||
overlays = [
|
||||
(final: prev: {
|
||||
hugo = (import nixpkgs-unstable { inherit system; }).hugo;
|
||||
})
|
||||
];
|
||||
};
|
||||
resume = resume.defaultPackage.${system};
|
||||
web-files = web-files.defaultPackage.${system};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user