grub: replace name with pname&version
This commit is contained in:
parent
30cf79fa62
commit
999758f9e6
|
@ -1,10 +1,11 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, texinfo, buggyBiosCDSupport ? true }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "grub-0.97-73";
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "grub";
|
||||
version = "0.97-73";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz";
|
||||
url = "https://alpha.gnu.org/gnu/grub/grub-${lib.versions.majorMinor version}.tar.gz";
|
||||
sha256 = "02r6b52r0nsp6ryqfiqchnl7r1d9smm80sqx24494gmx5p8ia7af";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue