Skip to content
Discussion options

You must be logged in to vote

Nevermind, I should have simply read the documentation first :-)

I could achieve what I wanted using withSystem:

{
  description = ''
    Uses flake-parts to set up the flake outputs:

    `wrappers`, `wrapperModules` and `packages.*.*`
  '';
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    wrappers = {
      url = "github:BirdeeHub/nix-wrapper-modules";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    flake-parts = {
      url = "github:hercules-ci/flake-parts";
      inputs.nixpkgs-lib.follows = "nixpkgs";
    };
  };
  outputs =
    {
      self,
      nixpkgs,
      wrappers,
      flake-parts,
      ...
    }@inputs:
    # flake-parts.lib.mkFlake { inhe…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@zenoli
Comment options

@BirdeeHub
Comment options

@zenoli
Comment options

@BirdeeHub
Comment options

@zenoli
Comment options

Answer selected by zenoli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants