nix: create overlay and use it throughout the repo
This commit is contained in:
parent
213aa184b1
commit
d38563f4a1
5 changed files with 11 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
let
|
||||
channels-nixos-stable-path = (builtins.fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/7e88992a8c7b2de0bcb89182d8686b27bd93e46a.tar.gz);
|
||||
channels-nixos-stable = import channels-nixos-stable-path {};
|
||||
channels-nixos-stable = import channels-nixos-stable-path { overlays = [ (import ./nix/overlay.nix) ]; };
|
||||
|
||||
in
|
||||
with channels-nixos-stable;
|
||||
|
@ -10,7 +10,7 @@ stdenv.mkDerivation {
|
|||
name = "infra-env";
|
||||
buildInputs = [
|
||||
(with import (channels-nixos-stable-path+"/nixos") { configuration = {}; }; with config.system.build; [ nixos-generate-config nixos-install nixos-enter manual.manpages ])
|
||||
(pkgs.callPackage ./nix/pkgs/just.nix {})
|
||||
just
|
||||
git-crypt
|
||||
vcsh
|
||||
gnupg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue