chore: nixfmt *

This commit is contained in:
steveej 2022-10-31 11:04:38 +01:00
parent dc761a5271
commit d039179898
161 changed files with 2688 additions and 3024 deletions

View file

@ -6,8 +6,10 @@ let
sources = import ../../nix/sources.nix;
nixpkgs-master = import <nixpkgs-master> { inherit (super) config; };
nixpkgs-unstable = import <channels-nixos-unstable> { inherit (super) config; };
pr-holochain-launcher-bin = import sources.pr-holochain-launcher-bin { inherit (super) config; };
nixpkgs-unstable =
import <channels-nixos-unstable> { inherit (super) config; };
pr-holochain-launcher-bin =
import sources.pr-holochain-launcher-bin { inherit (super) config; };
in {
inherit nixpkgs-master;
@ -24,12 +26,14 @@ in {
'';
};
qtile = super.qtile.overrideAttrs(oldAttrs: {
propagatedBuildInputs = oldAttrs.passthru.unwrapped.propagatedBuildInputs ++ (with self.python3Packages; [
# python-wifi
# iwlib
keyring
]);
qtile = super.qtile.overrideAttrs (oldAttrs: {
propagatedBuildInputs = oldAttrs.passthru.unwrapped.propagatedBuildInputs
++ (with self.python3Packages;
[
# python-wifi
# iwlib
keyring
]);
});
inherit (pr-holochain-launcher-bin) holochain-launcher;

View file

@ -1,4 +1,4 @@
# This overlay includes all packages defined by the top-level default.nix.
# This overlay includes all packages defined by the top-level default.nix.
# The code is copied from the NUR repository [0].
#
# [0]: https://github.com/nix-community/nur-packages-template/blob/2610a5b60bd926cea3e6395511da8f0d14c613b9/overlay.nix
@ -8,11 +8,11 @@ self: super:
let
isReserved = n: n == "lib" || n == "overlays" || n == "modules";
nameValuePair = n: v: { name = n; value = v; };
nameValuePair = n: v: {
name = n;
value = v;
};
nurAttrs = import ../pkgs { pkgs = super; };
in
builtins.listToAttrs
(map (n: nameValuePair n nurAttrs.${n})
(builtins.filter (n: !isReserved n)
(builtins.attrNames nurAttrs)))
in builtins.listToAttrs (map (n: nameValuePair n nurAttrs.${n})
(builtins.filter (n: !isReserved n) (builtins.attrNames nurAttrs)))

View file

@ -1,7 +1,7 @@
self: super:
let
nixpkgs-master = import <nixpkgs-master> {};
nixpkgs-master = import <nixpkgs-master> { };
inherit (nixpkgs-master) crun;
crun_10_6_0 = crun.overrideAttrs (oldAttrs: rec {
@ -15,5 +15,5 @@ let
in {
inherit (nixpkgs-master) podman conmon slirp4netns;
posh = self.callPackage ../pkgs/posh.nix {};
posh = self.callPackage ../pkgs/posh.nix { };
}