flake: reformat with nixfmt
This commit is contained in:
parent
a79e641851
commit
eaf4f56ac0
117 changed files with 2667 additions and 1592 deletions
|
@ -1,17 +1,20 @@
|
|||
inputs: final: prev:
|
||||
let
|
||||
mkPkgs = channel: channel.legacyPackages.${final.system};
|
||||
mkPkgsUnfree = channel: import channel {
|
||||
inherit (final) system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
mkPkgsUnfree =
|
||||
channel:
|
||||
import channel {
|
||||
inherit (final) system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
||||
latest = mkPkgsUnfree inputs.latest;
|
||||
fork = mkPkgsUnfree inputs.fork;
|
||||
stable = mkPkgs inputs.stable;
|
||||
old-stable = mkPkgs inputs.old-stable;
|
||||
|
||||
versionFromInput = input:
|
||||
versionFromInput =
|
||||
input:
|
||||
let
|
||||
slice = a: b: builtins.substring a b input.lastModifiedDate;
|
||||
in
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
final: prev:
|
||||
|
||||
let
|
||||
addPatches = package: patches: package.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ patches;
|
||||
});
|
||||
addPatches =
|
||||
package: patches:
|
||||
package.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ patches;
|
||||
});
|
||||
in
|
||||
{
|
||||
# coreutils-doge = addPatches prev.coreutils [ ./coreutils.patch ];
|
||||
|
@ -20,7 +22,9 @@ in
|
|||
# })
|
||||
#];
|
||||
|
||||
hydra_unstable = addPatches prev.hydra_unstable [ ./hydra-force-allow-import-from-derivation.patch ];
|
||||
hydra_unstable = addPatches prev.hydra_unstable [
|
||||
./hydra-force-allow-import-from-derivation.patch
|
||||
];
|
||||
|
||||
openssh-srv = addPatches prev.openssh [ ./srv-records.patch ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue