~kaction/config

253935d9ff7e9f53ec932ee964a64b67c25f23a1 — Dmitry Bogatov 2 months ago 47746ff system
Write derivation for lilo bootloader
2 files changed, 13 insertions(+), 0 deletions(-)

M flake.nix
A universe/lilo/default.nix
M flake.nix => flake.nix +1 -0
@@ 85,6 85,7 @@
          git-merge-pr = call ./universe/git-merge-pr;
          githooks = call ./universe/githooks;

          lilo = callPackage ./universe/lilo { };
          mk-runscript = call ./universe/mk-runscript;

          nix = pkgs.nixFlakes;

A universe/lilo/default.nix => universe/lilo/default.nix +12 -0
@@ 0,0 1,12 @@
{ stdenv, fetchurl, dev86, sharutils }:

stdenv.mkDerivation rec {
  pname = "lilo";
  version = "24.2";
  src = fetchurl {
    url = "https://www.joonet.de/lilo/ftp/sources/${pname}-${version}.tar.gz";
    hash = "sha256-4VjxneRWDJNevgUHwht5v/F2GLkjDYB2/oxf/5/b1bE=";
  };
  nativeBuildInputs = [ dev86 sharutils ];
  DESTDIR = builtins.placeholder "out";
}