akkuPackages.*: add an 'akku-' prefix to the package names (#346987)
This commit is contained in:
commit
cbccc5f195
@ -1,11 +1,5 @@
|
||||
{ lib, newScope, stdenv, fetchurl }:
|
||||
{ lib, newScope, fetchurl }:
|
||||
lib.makeScope newScope (self: rec {
|
||||
|
||||
fetchAkku = { name, url, sha256, ... }:
|
||||
fetchurl {
|
||||
inherit url sha256;
|
||||
};
|
||||
|
||||
akkuDerivation = self.callPackage ./akkuDerivation.nix { };
|
||||
akku = self.callPackage ./akku.nix { };
|
||||
|
||||
@ -14,11 +8,11 @@ lib.makeScope newScope (self: rec {
|
||||
overrides = self.callPackage ./overrides.nix { };
|
||||
makeAkkuPackage = akkuself: pname:
|
||||
{ version, dependencies, dev-dependencies, license, url, sha256, source, synopsis ? "", homepage ? "", ... }:
|
||||
(akkuDerivation rec {
|
||||
inherit version pname;
|
||||
src = fetchAkku {
|
||||
(akkuDerivation {
|
||||
pname = "akku-${pname}";
|
||||
inherit version;
|
||||
src = fetchurl {
|
||||
inherit url sha256;
|
||||
name = pname;
|
||||
};
|
||||
buildInputs = builtins.map (x: akkuself.${x}) dependencies;
|
||||
r7rs = source == "snow-fort";
|
||||
|
Loading…
Reference in New Issue
Block a user