-
-
Save msteen/583b601814831d38b9e15642a46b6dd5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> { } }: | |
let | |
overlayHaskellPackages = haskellPackages: overlay: haskellPackages.override (origAttrs: { | |
overrides = pkgs.lib.composeExtensions (origAttrs.overrides or (_: _: {})) overlay; | |
}); | |
name = baseNameOf (dirOf __curPos.file); | |
haskellPackages = overlayHaskellPackages pkgs.haskellPackages (self: super: { | |
"${name}" = super.callCabal2nix name ./. { }; | |
}); | |
in haskellPackages.${name} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ ... }@args: (import ./release.nix args).env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment