PortValhalla/lib/packages/archiso.nix

31 lines
572 B
Nix
Raw Permalink Normal View History

2024-10-06 19:25:34 +00:00
{ pkgs, fetchFromGitLab, ... }:
pkgs.stdenv.mkDerivation (rec {
pname = "archiso";
version = "79";
2024-10-06 19:25:34 +00:00
src = fetchFromGitLab {
domain = "gitlab.archlinux.org";
owner = "archlinux";
repo = pname;
rev = "v${version}";
sha256 = "5YNzHz9QEK+0x7Qjd2ajyE6gV1gD1MyI0ojZnuafmaw=";
};
2024-10-06 19:25:34 +00:00
dontPatchShebangs = true;
preInstall = "export PREFIX=$out";
2024-10-06 19:25:34 +00:00
nativeBuildInputs = with pkgs; [
docutils
git
];
2024-10-06 19:25:34 +00:00
propagatedBuildInputs = with pkgs; [
arch-install-scripts
dosfstools
libisoburn
mtools
pacman
squashfsTools
];
})