forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests.haskell.cabalSdist: avoid
lib.fileset
- Loading branch information
Showing
2 changed files
with
7 additions
and
22 deletions.
There are no files selected for viewing
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
11 changes: 4 additions & 7 deletions
11
...st/haskell/cabalSdist/local/generated.nix → pkgs/test/haskell/cabalSdist/generated.nix
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
# nix run ../../../../..#cabal2nix -- ./. | ||
{ | ||
mkDerivation, | ||
base, | ||
lib, | ||
}: | ||
# nix run ../../../../..#cabal2nix -- ./local | ||
{ mkDerivation, base, lib }: | ||
mkDerivation { | ||
pname = "local"; | ||
version = "0.1.0.0"; | ||
src = ./.; # also referred to as ./local in the test; these are the same path constants | ||
src = ./local; | ||
isLibrary = false; | ||
isExecutable = true; | ||
executableHaskellDepends = [ base ]; | ||
description = "Nixpkgs test case"; | ||
license = lib.licenses.mit; | ||
mainProgram = "local"; | ||
} |