From 85263798eba9611c8ff7f41a603f356ccf74b983 Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Sun, 28 Jan 2024 15:11:23 -0600 Subject: [PATCH] chore: trying a different output --- flake.lock | 15 +++++++++++++++ flake.nix | 17 ++++++++++++----- 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 3854b9f..d840ffc 100644 --- a/flake.lock +++ b/flake.lock @@ -1,5 +1,19 @@ { "nodes": { + "flake-schemas": { + "locked": { + "lastModified": 1697467827, + "narHash": "sha256-j8SR19V1SRysyJwpOBF4TLuAvAjF5t+gMiboN4gYQDU=", + "rev": "764932025c817d4e500a8d2a4d8c565563923d29", + "revCount": 29, + "type": "tarball", + "url": "https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.2/018b3da8-4cc3-7fbb-8ff7-1588413c53e2/source.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/DeterminateSystems/flake-schemas/0.1.2.tar.gz" + } + }, "flake-utils": { "locked": { "lastModified": 1653893745, @@ -365,6 +379,7 @@ }, "root": { "inputs": { + "flake-schemas": "flake-schemas", "nixago": "nixago", "nixago-exts": "nixago-exts_3", "nixpkgs": "nixpkgs" diff --git a/flake.nix b/flake.nix index 32aa492..bdc807a 100644 --- a/flake.nix +++ b/flake.nix @@ -9,6 +9,8 @@ nixago-exts.url = "github:nix-community/nixago-extensions"; nixago-exts.inputs.nixpkgs.follows = "nixpkgs"; + + flake-schemas.url = "https://flakehub.com/f/DeterminateSystems/flake-schemas/0.1.2.tar.gz"; }; outputs = inputs @ { self, nixpkgs, nixago, nixago-exts, ... }: @@ -21,6 +23,9 @@ }); in { + # The schemes we use. + schemas = inputs.flake-schemas.schemas; + # Expose the configuration options for setup. nixosModules = { mfgames-project-setup = import ./src/modules/default.nix; @@ -28,11 +33,13 @@ }; # Expose the configuration information. - lib = forEachSupportedSystem ({ system, pkgs }: - let - configs = import ./src/configs/default.nix { inherit system pkgs nixago nixago-exts; }; - in - configs); + lib = { + sayHello = nixpkgs."x86_64-linux".lib.debug.traceVal (name: "Hello there, ${name}!"); + }; + + configs = + forEachSupportedSystem ({ system, pkgs }: + (import ./src/configs/default.nix { inherit system pkgs nixago nixago-exts; })); # Set up the developer shell. devShells = forEachSupportedSystem ({ system, pkgs }: