##// END OF EJS Templates
release: Finish preparation for 4.12.3
release: Finish preparation for 4.12.3

File last commit:

r96:5682a2ff default
r468:764fdd75 v4.12.3 stable
Show More
shell.nix
41 lines | 1.1 KiB | text/x-nix | NixLexer
nix: Propagate doCheck argument through nix files.
r34 { pkgs ? import <nixpkgs> {}
requirements: added ipdb (0.10.1) support.
r96 , doCheck ? false
initial commit
r0 }:
let
requirements: added ipdb (0.10.1) support.
r96
nix: Propagate doCheck argument through nix files.
r34 vcsserver = import ./default.nix {
requirements: added ipdb (0.10.1) support.
r96 inherit pkgs doCheck;
nix: Propagate doCheck argument through nix files.
r34 };
initial commit
r0
Martin Bornhold
nix: Move shell hook from default.nix -> shell.nix and set custom shell prompt.
r95 vcs-pythonPackages = vcsserver.pythonPackages;
initial commit
r0 in vcsserver.override (attrs: {
# Avoid that we dump any sources into the store when entering the shell and
# make development a little bit more convenient.
src = null;
requirements: added ipdb (0.10.1) support.
r96 buildInputs =
attrs.buildInputs ++
(with vcs-pythonPackages; [
ipdb
]);
Martin Bornhold
nix: Move shell hook from default.nix -> shell.nix and set custom shell prompt.
r95 # Somewhat snappier setup of the development environment
# TODO: think of supporting a stable path again, so that multiple shells
# can share it.
postShellHook = ''
# Set locale
export LC_ALL="en_US.UTF-8"
# Custom prompt to distinguish from other dev envs.
export PS1="\n\[\033[1;32m\][VCS-shell:\w]$\[\033[0m\] "
tmp_path=$(mktemp -d)
export PATH="$tmp_path/bin:$PATH"
export PYTHONPATH="$tmp_path/${vcs-pythonPackages.python.sitePackages}:$PYTHONPATH"
mkdir -p $tmp_path/${vcs-pythonPackages.python.sitePackages}
python setup.py develop --prefix $tmp_path --allow-hosts ""
'';
initial commit
r0 })