flake-modules-core -> flake-parts

This commit is contained in:
Robert Hensing 2022-05-25 16:36:33 +02:00
parent 98bc2676c4
commit 3beb704537
19 changed files with 52 additions and 52 deletions

View file

@ -2,13 +2,13 @@
description = "Description for the project";
inputs = {
flake-modules-core.url = "github:hercules-ci/flake-modules-core";
flake-modules-core.inputs.nixpkgs.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs.follows = "nixpkgs";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, flake-modules-core, ... }:
flake-modules-core.lib.mkFlake { inherit self; } {
outputs = { self, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit self; } {
imports = [
# To import a flake module
# 1. Add foo to inputs

View file

@ -2,13 +2,13 @@
description = "Description for the project";
inputs = {
flake-modules-core.url = "github:hercules-ci/flake-modules-core";
flake-modules-core.inputs.nixpkgs.follows = "nixpkgs";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-parts.inputs.nixpkgs.follows = "nixpkgs";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, flake-modules-core, ... }:
flake-modules-core.lib.mkFlake { inherit self; } {
outputs = { self, flake-parts, ... }:
flake-parts.lib.mkFlake { inherit self; } {
imports = [
./hello/flake-module.nix
];