This commit is contained in:
Ajeet D'Souza 2021-04-03 15:12:08 +05:30
parent b5ecff7b4d
commit 3f743e63a0
2 changed files with 25 additions and 25 deletions

View File

@ -23,4 +23,6 @@ jobs:
if: ${{ matrix.os != 'windows-latest' }} if: ${{ matrix.os != 'windows-latest' }}
with: with:
nix_path: nixpkgs=channel:nixos-stable nix_path: nixpkgs=channel:nixos-stable
- run: make test - run: mkdir -p /tmp/home && make test
env:
HOME: /tmp/home

View File

@ -3,8 +3,7 @@ let
pkgsMaster = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/470e4a9bbc98b171a7e733dfc9e62531f7b9ceca.tar.gz") {}; pkgsMaster = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/470e4a9bbc98b171a7e733dfc9e62531f7b9ceca.tar.gz") {};
pkgsPython = pkgs.python3.withPackages (pkgs: [ pkgs.black pkgs.mypy pkgs.pylint ]); pkgsPython = pkgs.python3.withPackages (pkgs: [ pkgs.black pkgs.mypy pkgs.pylint ]);
in in
pkgs.mkShell pkgs.mkShell {
{
name = "env"; name = "env";
buildInputs = [ buildInputs = [
pkgsMaster.nushell pkgsMaster.nushell
@ -24,6 +23,5 @@ pkgs.mkShell
pkgs.xonsh pkgs.xonsh
pkgs.zsh pkgs.zsh
]; ];
RUST_BACKTRACE = 1; RUST_BACKTRACE = 1;
} }