wow
Some checks failed
CI / check (push) Successful in 4s
CI / list-packages (push) Successful in 3s
CI / build (helium) (push) Successful in 5s
CI / build (pjsk-cursor) (push) Successful in 3s
CI / build (vscode-insiders) (push) Failing after 12s
CI / build (waterfox-bin) (push) Successful in 4s
CI / build (xcursor-mizuki) (push) Successful in 2s
Some checks failed
CI / check (push) Successful in 4s
CI / list-packages (push) Successful in 3s
CI / build (helium) (push) Successful in 5s
CI / build (pjsk-cursor) (push) Successful in 3s
CI / build (vscode-insiders) (push) Failing after 12s
CI / build (waterfox-bin) (push) Successful in 4s
CI / build (xcursor-mizuki) (push) Successful in 2s
This commit is contained in:
parent
c293ad4c67
commit
e880422959
1 changed files with 24 additions and 16 deletions
38
flake.nix
38
flake.nix
|
|
@ -7,13 +7,12 @@
|
||||||
|
|
||||||
outputs = { self, nixpkgs }:
|
outputs = { self, nixpkgs }:
|
||||||
let
|
let
|
||||||
system = [
|
supportedSystems = [
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
"aarch64-darwin"
|
"aarch64-darwin"
|
||||||
"x86_64-darwin"
|
"x86_64-darwin"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Overlay 정의
|
|
||||||
overlay = final: prev: {
|
overlay = final: prev: {
|
||||||
waterfox-bin = final.callPackage ./pkgs/waterfox-bin/default.nix { };
|
waterfox-bin = final.callPackage ./pkgs/waterfox-bin/default.nix { };
|
||||||
xcursor-mizuki = final.callPackage ./pkgs/xcursor-mizuki/default.nix { };
|
xcursor-mizuki = final.callPackage ./pkgs/xcursor-mizuki/default.nix { };
|
||||||
|
|
@ -22,22 +21,31 @@
|
||||||
vscode-insiders = final.callPackage ./pkgs/vscode-insiders/default.nix { };
|
vscode-insiders = final.callPackage ./pkgs/vscode-insiders/default.nix { };
|
||||||
};
|
};
|
||||||
|
|
||||||
pkgs = import nixpkgs {
|
forAllSystems = f: nixpkgs.lib.genAttrs supportedSystems (system: f (
|
||||||
inherit system;
|
import nixpkgs {
|
||||||
overlays = [ overlay ];
|
inherit system;
|
||||||
config.allowUnfree = true;
|
overlays = [ overlay ];
|
||||||
};
|
config.allowUnfree = true;
|
||||||
|
}
|
||||||
|
));
|
||||||
in {
|
in {
|
||||||
overlays.default = overlay;
|
overlays.default = overlay;
|
||||||
|
|
||||||
packages.${system} = {
|
packages = forAllSystems (pkgs:
|
||||||
inherit (pkgs)
|
let
|
||||||
waterfox-bin
|
allPkgs = {
|
||||||
xcursor-mizuki
|
inherit (pkgs)
|
||||||
pjsk-cursor
|
waterfox-bin
|
||||||
helium
|
xcursor-mizuki
|
||||||
vscode-insiders;
|
pjsk-cursor
|
||||||
};
|
helium
|
||||||
|
vscode-insiders;
|
||||||
|
};
|
||||||
|
in
|
||||||
|
nixpkgs.lib.filterAttrs (name: pkg:
|
||||||
|
nixpkgs.lib.elem pkgs.stdenv.hostPlatform.system (pkg.meta.platforms or [ "x86_64-linux" ])
|
||||||
|
) allPkgs
|
||||||
|
);
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue