Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

How can you disable tests with stackProject? #786

Copy link
Copy link
Open
@codygman

Description

@codygman
Issue body actions

I think it'll be something like this maybe?

let
  sources = import ./nix/sources.nix;
  haskellNix = import sources."haskell.nix" {};
  nixpkgsSrc = haskellNix.sources.nixpkgs-2003;
  nixpkgsArgs = haskellNix.nixpkgsArgs;
  pkgs = import nixpkgsSrc nixpkgsArgs ;
  project = pkgs.haskell-nix.stackProject {
    src = pkgs.nix-gitignore.gitignoreSource [] ./.;
    compiler-nix-name = "ghc883";
    haskellNix = haskellNix;
  };
in project.overrideAttrs (old: {
    # override something from the list at https://input-output-hk.github.io/haskell.nix/reference/library/#stackproject
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.