Skip to content

overrides

state: internal
maintainers: @DavHau

Introduction

Options

overrideAll

Overrides applied on all dependencies.

type module
source dream2nix/modules/dream2nix/overrides/interface.nix
default
{ }
example
{
  mkDerivation = {
    doCheck = false;
  };
}

overrides

Overrides applied only on dependencies matching the specified name.

type attribute set of module
source dream2nix/modules/dream2nix/overrides/interface.nix
default
{ }
example
{
  hello = {
    mkDerivation = {
      postPatch = ''
        substituteInPlace Makefile --replace /usr/local /usr
      '';
    };
  };
}