ci: Refactor Nix shell files
This commit is contained in:
parent
2480e55c8f
commit
cc2a5451dc
|
@ -0,0 +1,12 @@
|
|||
{ pkgs }:
|
||||
|
||||
with pkgs;
|
||||
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
bash file pkgconfig autoconf automake libtool gmp valgrind clang gcc
|
||||
];
|
||||
shellHook = ''
|
||||
echo Running nix-shell with nixpkgs version: $(nix eval --raw nixpkgs.lib.version)
|
||||
'';
|
||||
}
|
|
@ -1,9 +1,4 @@
|
|||
with (import <nixpkgs> {}).pkgsi686Linux;
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
bash file pkgconfig autoconf automake libtool gmp valgrind clang gcc
|
||||
];
|
||||
shellHook = ''
|
||||
echo Running nix-shell with nixpkgs version: $(nix eval --raw nixpkgs.lib.version)
|
||||
'';
|
||||
}
|
||||
let
|
||||
pkgs = (import <nixpkgs> {}).pkgsi686Linux;
|
||||
in
|
||||
import ./mkshell.nix { inherit pkgs; }
|
||||
|
|
13
ci/shell.nix
13
ci/shell.nix
|
@ -1,9 +1,4 @@
|
|||
with (import <nixpkgs> {});
|
||||
mkShell {
|
||||
buildInputs = [
|
||||
bash file pkgconfig autoconf automake libtool gmp valgrind clang gcc
|
||||
];
|
||||
shellHook = ''
|
||||
echo Running nix-shell with nixpkgs version: $(nix eval --raw nixpkgs.lib.version)
|
||||
'';
|
||||
}
|
||||
let
|
||||
pkgs = (import <nixpkgs> {});
|
||||
in
|
||||
import ./mkshell.nix { inherit pkgs; }
|
||||
|
|
Loading…
Reference in New Issue