flake-modules-core -> flake-parts
This commit is contained in:
parent
98bc2676c4
commit
3beb704537
19 changed files with 52 additions and 52 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue