1
0
Fork 0
mirror of https://github.com/NixOS/nixos-artwork synced 2024-10-18 00:06:24 -04:00

shell.nix: Use default.nix as source of truth

This commit is contained in:
Samuel Dionne-Riel 2024-04-08 20:42:44 -04:00
parent 31e6d5e924
commit f5f48d318b

View file

@ -1,6 +1,18 @@
with import <nixpkgs> {};
mkShell {
nativeBuildInputs = [ grub2_efi inkscape imagemagick ];
dejavu = dejavu_fonts;
__strictDeps = true;
}
{ pkgs ? import <nixpkgs> {} }:
let
default = import ./. { inherit pkgs; };
in
pkgs.callPackage (
{ mkShell
, dejavu_fonts
}:
mkShell {
nativeBuildInputs = []
++ default.bootloader.nativeBuildInputs
++ default.icons.nativeBuildInputs
;
dejavu = dejavu_fonts;
__strictDeps = true;
}
) {}