Skip to content
Snippets Groups Projects
shell.nix 317 B
Newer Older
  • Learn to ignore specific revisions
  • Jean-Paul Calderone's avatar
    Jean-Paul Calderone committed
    # Note: Passing arguments through here to customize the environment does not
    # work on Nix 2.3.  It works with Nix 2.5.  I'm not sure about 2.4.
    { ... }@args:
    
    Jean-Paul Calderone's avatar
    Jean-Paul Calderone committed
      tests = import ./tests.nix args;
      inherit (tests) pkgs;
    
    Jean-Paul Calderone's avatar
    Jean-Paul Calderone committed
    pkgs.mkShell {
      buildInputs = [
        tests.python
        tests.lint-python
        pkgs.niv
      ];
    }