aboutsummaryrefslogtreecommitdiff
path: root/pkgs/misc/uboot/default.nix
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2019-01-05 16:10:10 -0500
committerBen Wolsieffer <benwolsieffer@gmail.com>2019-01-18 17:53:21 -0500
commit404773e33673e0bf0ca31ae04f33ea75de76b133 (patch)
tree8e525ad96889622a5647f9694a1cdf1d70536706 /pkgs/misc/uboot/default.nix
parent26079c4da73172f4d51ceca2ef9a641bcc1e0777 (diff)
uboot: use pname and cleanup version specification
Diffstat (limited to '')
-rw-r--r--pkgs/misc/uboot/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index 5affd93279c9..a8e46671caec 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -4,7 +4,8 @@
}:
let
- buildUBoot = { filesToInstall
+ buildUBoot = { version ? "2018.09"
+ , filesToInstall
, installDir ? "$out"
, defconfig
, extraConfig ? ""
@@ -14,8 +15,8 @@ let
, ... } @ args:
stdenv.mkDerivation (rec {
- name = "uboot-${defconfig}-${version}";
- version = args.version or "2018.09";
+ pname = "uboot-${defconfig}";
+ inherit version;
src = fetchurl {
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${version}.tar.bz2";