diff options
author | obadz <obadz-git@obadz.com> | 2016-08-21 12:01:26 +0100 |
---|---|---|
committer | obadz <obadz-git@obadz.com> | 2016-08-21 12:02:36 +0100 |
commit | 15b07f4b8e23ef40b9bc84543d1f73f3c3e9cf79 (patch) | |
tree | b3e76e50817ddf1de8a52bf75275670e6b1b7c6a /pkgs | |
parent | d890e82794c630b0165dabee30fc3d50c3e58bf8 (diff) | |
download | nixpkgs-15b07f4b8e23ef40b9bc84543d1f73f3c3e9cf79.tar nixpkgs-15b07f4b8e23ef40b9bc84543d1f73f3c3e9cf79.tar.gz nixpkgs-15b07f4b8e23ef40b9bc84543d1f73f3c3e9cf79.tar.bz2 nixpkgs-15b07f4b8e23ef40b9bc84543d1f73f3c3e9cf79.tar.lz nixpkgs-15b07f4b8e23ef40b9bc84543d1f73f3c3e9cf79.tar.xz nixpkgs-15b07f4b8e23ef40b9bc84543d1f73f3c3e9cf79.tar.zst nixpkgs-15b07f4b8e23ef40b9bc84543d1f73f3c3e9cf79.zip |
efibootmgr: 0.12 -> 13
Fixes glib 2.24 build issues
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/system/efibootmgr/default.nix | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/pkgs/tools/system/efibootmgr/default.nix b/pkgs/tools/system/efibootmgr/default.nix index 39fe1bdf09a..11418919e41 100644 --- a/pkgs/tools/system/efibootmgr/default.nix +++ b/pkgs/tools/system/efibootmgr/default.nix @@ -1,27 +1,22 @@ -{ stdenv, fetchFromGitHub, perl, efivar, pciutils, zlib }: +{ stdenv, fetchFromGitHub, perl, efivar, pciutils, zlib, popt }: stdenv.mkDerivation rec { name = "efibootmgr-${version}"; - version = "0.12"; + version = "13"; - buildInputs = [ perl efivar pciutils zlib ]; + buildInputs = [ perl efivar pciutils zlib popt ]; src = fetchFromGitHub { owner = "rhinstaller"; repo = "efibootmgr"; - rev = name; - sha256 = "0fmrsp67dln76896fvxalj2pamyp9dszf32kl06wdfi0km42z8sh"; + rev = version; + sha256 = "1kwmvx111c3a5783kx3az76mkhpr1nsdx0yv09gp4k0hgzqlqj96"; }; NIX_CFLAGS_COMPILE = "-I${efivar}/include/efivar"; - NIX_LDFLAGS = "-lefiboot -lefivar"; + NIX_LDFLAGS = "-lefiboot -lefivar -lpopt"; - postPatch = '' - substituteInPlace "./tools/install.pl" \ - --replace "/usr/bin/perl" "${perl}/bin/perl" - ''; - - installFlags = [ "BINDIR=$(out)/sbin" ]; + installFlags = [ "prefix=$(out)" ]; meta = with stdenv.lib; { description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager"; |