mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
flashrom: use finalAttrs
This commit is contained in:
parent
32ef95f442
commit
2d4e8c8083
1 changed files with 3 additions and 3 deletions
|
@ -16,12 +16,12 @@
|
|||
jlinkSupport ? false,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "flashrom";
|
||||
version = "1.5.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://download.flashrom.org/releases/flashrom-v${version}.tar.xz";
|
||||
url = "https://download.flashrom.org/releases/flashrom-v${finalAttrs.version}.tar.xz";
|
||||
hash = "sha256-H5NLB27UnqziA2Vewkn8eGGmuOh/5K73MuR7bkhbYpM=";
|
||||
};
|
||||
|
||||
|
@ -80,4 +80,4 @@ stdenv.mkDerivation rec {
|
|||
platforms = platforms.all;
|
||||
mainProgram = "flashrom";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue