add postgresql to have psql to shell
This commit is contained in:
parent
5af7924779
commit
d6ce32187b
|
@ -27,6 +27,12 @@ let
|
|||
|
||||
drv = variant (haskellPackages.callPackage f {});
|
||||
|
||||
enhancedDrv = if pkgs.lib.inNixShell
|
||||
then drv.env.overrideAttrs (oldAttrs: {
|
||||
buildInputs = oldAttrs.buildInputs or [] ++ [ pkgs.postgresql ];
|
||||
})
|
||||
else drv;
|
||||
|
||||
in
|
||||
|
||||
if pkgs.lib.inNixShell then drv.env else drv
|
||||
enhancedDrv
|
||||
|
|
Loading…
Reference in New Issue