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,27 +3,25 @@ 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 pkgsPython
pkgsPython pkgs.bash
pkgs.bash pkgs.cargo
pkgs.cargo pkgs.cargo-audit
pkgs.cargo-audit pkgs.dash
pkgs.dash pkgs.fish
pkgs.fish pkgs.fzf
pkgs.fzf pkgs.git
pkgs.git pkgs.powershell
pkgs.powershell pkgs.rustc
pkgs.rustc pkgs.rustfmt
pkgs.rustfmt pkgs.shellcheck
pkgs.shellcheck pkgs.shfmt
pkgs.shfmt pkgs.xonsh
pkgs.xonsh pkgs.zsh
pkgs.zsh ];
]; RUST_BACKTRACE = 1;
}
RUST_BACKTRACE = 1;
}