##// END OF EJS Templates
scm-model: add extra validation logic for remote uri to filter out bad scheduler entries.
scm-model: add extra validation logic for remote uri to filter out bad scheduler entries.

File last commit:

r2942:7774a1bb default
r3071:144eaab4 default
Show More
shell-generate.nix
53 lines | 1.0 KiB | text/x-nix | NixLexer
/ pkgs / shell-generate.nix
nix: updated to 18.03 nix packages...
r2824 { pkgs ? (import <nixpkgs> {})
, pythonPackages ? "python27Packages"
}:
with pkgs.lib;
let _pythonPackages = pythonPackages; in
let
pythonPackages = getAttr _pythonPackages pkgs;
pip2nix = import ./nix-common/pip2nix.nix {
inherit
pkgs
pythonPackages;
};
in
pkgs.stdenv.mkDerivation {
name = "pip2nix-generated";
buildInputs = [
# Allows to generate python packages
pip2nix.pip2nix
pythonPackages.pip-tools
# Allows to generate bower dependencies
pkgs.nodePackages.bower2nix
# Allows to generate node dependencies
pkgs.nodePackages.node2nix
# We need mysql_config to be around
pkgs.mysql
# We need postgresql to be around
pkgs.postgresql
# Curl is needed for pycurl
pkgs.curl
];
shellHook = ''
runHook preShellHook
runHook postShellHook
'';
preShellHook = ''
echo "Starting Generate Shell"
# Custom prompt to distinguish from other dev envs.
export PS1="\n\[\033[1;32m\][Generate-shell:\w]$\[\033[0m\] "
depdendencies: bumped pycurl to 7.43.0.2
r2942 export PYCURL_SSL_LIBRARY=openssl
nix: updated to 18.03 nix packages...
r2824 '';
}