about summary refs log tree commit diff
path: root/pkgs/test/haskell/cabalSdist/local/generated.nix
blob: f6463e762dddc3d276189df62e78079f180f1a8c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# nix run ../../../../..#cabal2nix -- ./.
{ mkDerivation, base, lib }:
mkDerivation {
  pname = "local";
  version = "0.1.0.0";
  src = lib.fileset.toSource {
    root = ./.;
    fileset = lib.fileset.unions [
      ./app
      ./CHANGELOG.md
      ./local.cabal
    ];
  };
  isLibrary = false;
  isExecutable = true;
  executableHaskellDepends = [ base ];
  description = "Nixpkgs test case";
  license = lib.licenses.mit;
}