dev.fron.io nixrc / 837d771
overlays: pin pulseeffects to master for now Tony Olagbaiye 1 year, 2 days ago
4 changed file(s) with 46 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
6262 overlays = (attrValues self.overlays) ++ [
6363 (self: super: { master =
6464 mapAttrs (k: v: diffTrace (baseNameOf master) (baseNameOf super.path) "pkgs.${k} pinned to nixpkgs/master" v)
65 (import master { inherit config system overlays; });
65 (import master { inherit config system; overlays = []; });
6666 })
6767 (self: super: { staged =
6868 mapAttrs (k: v: diffTrace (baseNameOf staged) (baseNameOf super.path) "pkgs.${k} pinned to nixpkgs/staging" v)
69 (import staged { inherit config system overlays; });
69 (import staged { inherit config system; overlays = []; });
7070 })
7171 (self: super: { small =
7272 mapAttrs (k: v: diffTrace (baseNameOf small) (baseNameOf super.path) "pkgs.${k} pinned to nixpkgs/nixos-unstable-small" v)
73 (import small { inherit config system overlays; });
73 (import small { inherit config system; overlays = []; });
7474 })
7575 (self: super: { large =
7676 mapAttrs (k: v: diffTrace (baseNameOf large) (baseNameOf super.path) "pkgs.${k} pinned to nixpkgs/nixos-unstable" v)
77 (import large { inherit config system overlays; });
77 (import large { inherit config system; overlays = []; });
7878 })
7979 (self: super: let
8080 pkgs = epkgs.legacyPackages.${system};
8585 naersk = naersk.lib.${system};
8686 snack = pkgs.callPackage (import "${inputs.snack}/snack-lib");
8787 napalm = pkgs.callPackage inputs.napalm;
88 inherit (master.legacyPackages.${system}) pulseeffects;
8889 inherit (staged.legacyPackages.${system}) libgccjit sof-firmware;
8990 inherit (import bhipple { inherit pkgs; }) gccemacs;
9091 })
129129 builders-use-substitutes = true
130130 '';
131131
132 environment.systemPackages = with pkgs.large; [
132 environment.systemPackages = with pkgs; [
133133 clipmenu bitwarden bitwarden-cli pass protonmail-bridge
134134
135135 ckb-next riot-desktop nheko discord ripcord
136136 qutebrowser next firefox fx_cast_bridge
137 thunderbird mpv
137 thunderbird mpv
138138
139139 dunst catt termite rxvt_unicode
140140 steam obs-studio
00 final: prev: {
11 iptables = prev.iptables-nftables-compat;
22 systemd = prev.systemd.override { iptables = prev.iptables; };
3 webkitgtk = prev.webkitgtk.override {
4 geoclue2 = prev.geoclue2.override {
5 glib-networking = prev.glib-networking.override {
6 libproxy = prev.libproxy.override {
7 networkmanager = prev.networkmanager.override {
8 dhcp = prev.dhcp.override {
9 iproute = prev.iproute.override {
10 iptables = prev.iptables;
11 };
12 };
13 iptables = prev.iptables;
14 };
15 };
16 };
17 };
18 };
319 }
22 with lib; let
33 cfg = config.programs.emacs;
44
5 myEmacs = pkgs.gccemacs.overrideAttrs (attrs: {
5 myEmacs = (pkgs.emacs.override {
6 srcRepo = true;
67 withXwidgets = true;
78 webkitgtk = pkgs.large.webkitgtk;
9 }).overrideAttrs (o: rec {
10 name = "gccemacs-${lib.substring 0 8 src.rev}";
11 src = pkgs.fetchFromGitHub {
12 owner = "emacs-mirror";
13 repo = "emacs";
14 # Fetching off the feature/native-comp git branch
15 rev = "92dc81f85e1b91db04487ccf1b52c0cd3328dfee";
16 sha256 = "1f22bxwq53hhdjlakmqz66y63vix5ybpnc1pk9fpy18wjh871scq";
17 };
18 patches = [];
19
20 # When this is enabled, emacs does native compilation lazily after starting
21 # up, resulting in quicker package builds up-front, at the cost of slower
22 # running emacs until everything has been compiled.
23 #makeFlags = [ "NATIVE_FAST_BOOT=1" ];
24
25 LIBRARY_PATH = "${lib.getLib pkgs.stdenv.cc.libc}/lib";
26
27 configureFlags = o.configureFlags ++ [ "--with-nativecomp" ];
28
29 buildInputs = with pkgs; o.buildInputs ++ [ jansson libgccjit glibc harfbuzz.dev ];
830 });
931 in {
1032 imports = [