fix: 7zz build failure

This commit is contained in:
Youwen Wu 2024-11-04 20:56:42 -08:00
parent be38e0a073
commit 9a6e8e814b
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 22 additions and 7 deletions

View file

@ -104,6 +104,22 @@
"type": "github" "type": "github"
} }
}, },
"bleedingpkgs": {
"locked": {
"lastModified": 1730781761,
"narHash": "sha256-/0gVcFiZaQAROSySTXXblCzGZc6ZvQQzLpxuF40AoJ0=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "aa689c679c90ea9a84c99cfb1ef5a7ab4ddbbf9b",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "master",
"repo": "nixpkgs",
"type": "github"
}
},
"blink-cmp": { "blink-cmp": {
"inputs": { "inputs": {
"fenix": "fenix", "fenix": "fenix",
@ -850,6 +866,7 @@
"inputs": { "inputs": {
"apple-firmware": "apple-firmware", "apple-firmware": "apple-firmware",
"apple-silicon": "apple-silicon", "apple-silicon": "apple-silicon",
"bleedingpkgs": "bleedingpkgs",
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"home-manager": "home-manager", "home-manager": "home-manager",
"homebrew-cask": "homebrew-cask", "homebrew-cask": "homebrew-cask",

View file

@ -4,7 +4,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# stablepkgs.url = "github:nixos/nixpkgs/nixos-24.05"; # stablepkgs.url = "github:nixos/nixpkgs/nixos-24.05";
# bleedingpkgs.url = "github:nixos/nixpkgs/master"; bleedingpkgs.url = "github:nixos/nixpkgs/master";
# nixpkgs-unstable-small.url = "github:nixos/nixpkgs/nixos-unstable-small"; # nixpkgs-unstable-small.url = "github:nixos/nixpkgs/nixos-unstable-small";
home-manager = { home-manager = {

View file

@ -4,16 +4,14 @@
... ...
}: }:
let let
bleedingpkgs = inputs.bleedingpkgs.legacyPackages.${pkgs.system};
in in
# stablepkgs = inputs.stablepkgs.legacyPackages.${pkgs.system}; # stablepkgs = inputs.stablepkgs.legacyPackages.${pkgs.system};
# bleedingpkgs = inputs.bleedingpkgs.legacyPackages.${pkgs.system};
# nixpkgs-small = inputs.nixpkgs-unstable-small.legacyPackages.${pkgs.system}; # nixpkgs-small = inputs.nixpkgs-unstable-small.legacyPackages.${pkgs.system};
{ {
nixpkgs.overlays = [ nixpkgs.overlays = [
( (self: super: {
self: super: _7zz = bleedingpkgs._7zz;
{ })
}
)
]; ];
} }