frobar: Build zelbar on current nixpkgs
Reduces dependencies
This commit is contained in:
parent
42bcd2a9a2
commit
8cf1959759
2 changed files with 10 additions and 15 deletions
11
flake.nix
11
flake.nix
|
|
@ -6,7 +6,7 @@
|
||||||
onixpkgs.url = "nixpkgs/nixos-24.11";
|
onixpkgs.url = "nixpkgs/nixos-24.11";
|
||||||
nixpkgs.url = "nixpkgs/nixos-25.05";
|
nixpkgs.url = "nixpkgs/nixos-25.05";
|
||||||
unixpkgs.url = "nixpkgs/nixos-unstable";
|
unixpkgs.url = "nixpkgs/nixos-unstable";
|
||||||
zelbarnixpkgs.url = "github:GeoffreyFrogeye/nixpkgs/zelbar";
|
zelbarnixpkgs.url = "github:wlcx/nixpkgs/zelbar";
|
||||||
# OS
|
# OS
|
||||||
disko = {
|
disko = {
|
||||||
url = "disko";
|
url = "disko";
|
||||||
|
|
@ -60,15 +60,15 @@
|
||||||
(import ./common/update-local-flakes/overlay.nix)
|
(import ./common/update-local-flakes/overlay.nix)
|
||||||
nur.overlays.default
|
nur.overlays.default
|
||||||
(
|
(
|
||||||
# Cherry-pick packages from future
|
# Cherry-pick packages from other places
|
||||||
self: super:
|
self: super:
|
||||||
let
|
let
|
||||||
upkgs = import unixpkgs { inherit (super) system; };
|
upkgs = import unixpkgs { inherit (super) system; };
|
||||||
zelbarpkgs = import zelbarnixpkgs { inherit (super) system; };
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
hello = upkgs.hello; # Placeholder
|
# hello = upkgs.hello; # Take package and dependencies: heavier
|
||||||
zelbar = zelbarpkgs.zelbar;
|
# hello = super.callPackage "${unixpkgs}/pkgs/by-name/he/hello/package.nix" { }; # Take package only: not always possible
|
||||||
|
zelbar = super.callPackage "${zelbarnixpkgs}/pkgs/by-name/ze/zelbar/package.nix" { };
|
||||||
fluffychat = upkgs.fluffychat; # unstable so we have 2.0 which doesn't have security warnings
|
fluffychat = upkgs.fluffychat; # unstable so we have 2.0 which doesn't have security warnings
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
@ -87,6 +87,7 @@
|
||||||
nixpkgs.lib.nixosSystem {
|
nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = attrs // {
|
specialArgs = attrs // {
|
||||||
|
# Cherry-pick packages from other places without overlays.
|
||||||
upkgs = import unixpkgs {
|
upkgs = import unixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,11 @@
|
||||||
{
|
{
|
||||||
zelbarnixpkgs ? builtins.getFlake "github:GeoffreyFrogeye/nixpkgs/zelbar",
|
zelbarnixpkgs ? builtins.getFlake "github:wlcx/nixpkgs/zelbar",
|
||||||
nixpkgs ? <nixpkgs>,
|
nixpkgs ? <nixpkgs>,
|
||||||
pkgs ? import nixpkgs {
|
pkgs ? import nixpkgs {
|
||||||
overlays = [
|
overlays = [
|
||||||
(
|
(self: super: {
|
||||||
self: super:
|
zelbar = super.callPackage "${zelbarnixpkgs}/pkgs/by-name/ze/zelbar/package.nix" { };
|
||||||
let
|
})
|
||||||
zelbarpkgs = import zelbarnixpkgs { inherit (super) system; };
|
|
||||||
in
|
|
||||||
{
|
|
||||||
inherit (zelbarpkgs) zelbar;
|
|
||||||
}
|
|
||||||
)
|
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
...
|
...
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue