Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Latest commit

 

History

History
21 lines (20 loc) · 414 Bytes

overriding-packages.md

File metadata and controls

21 lines (20 loc) · 414 Bytes

Overriding Packages

To override a package the package set, simply add a package with the same name to your dependencies.

let
  prelude-override =
    purs-nix.build
      { name = "prelude";
        src.path = /home/me/my-prelude;
        info = /package.nix;
      };
in
purs-nix.purs
  { dependencies =
      with purs-nix.ps-pkgs;
      [ console
        effect
        prelude-override
      ];
  }