forked from NixOS/nixpkgs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
haskell.mkDerivation: Support sourceRoot, setSourceRoot
Allow setting `sourceRoot` and `setSourceRoot` in the arguments to `haskellPackages.mkDerivation`. These arguments are passed directly to `stdenv.mkDerivation`. It may be worth reading over `pkgs/stdenv/generic/setup.sh` and checking if there's other unsupported variables which may be useful. It may also be worth adding an argument like `extraAttrs` to be passed to `stdenv.mkDerivation` directly, as an escape hatch.
- Loading branch information
Showing
2 changed files
with
8 additions
and
0 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
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