2022-10-17 22:40:48 +02:00
|
|
|
# https://nixos.wiki/wiki/Overlays
|
|
|
|
let
|
2023-02-24 21:36:30 +01:00
|
|
|
|
2022-10-17 22:40:48 +02:00
|
|
|
# WARNING: this works for nixos-rebuild, but not for the nix-build trick shown on the bottom
|
2023-02-24 21:36:30 +01:00
|
|
|
#testing = import (fetchTarball {
|
|
|
|
# name = "pr-180823";
|
|
|
|
# url = "https://github.com/r-ryantm/nixpkgs/archive/cfe56470cb641985d43adba690d5bca5453110fe.tar.gz";
|
|
|
|
# sha256 = "0rbncjp2a99l6i4z7w2m86l40m33b3dl9qficfny47kqcfpgyx0b";
|
|
|
|
#}) {
|
|
|
|
# #config = prev.config;
|
|
|
|
#};
|
2022-10-17 22:40:48 +02:00
|
|
|
|
|
|
|
overridePythonPackages = old: {
|
2023-02-24 21:36:30 +01:00
|
|
|
overrides = final: prev: {
|
2022-10-17 22:40:48 +02:00
|
|
|
|
2023-02-24 21:36:30 +01:00
|
|
|
#pdoc = final.callPackage /home/pbsds/repos/nixpkgs-pdoc/pkgs/development/python-modules/pdoc { };
|
2022-10-17 22:40:48 +02:00
|
|
|
|
2023-02-24 21:36:30 +01:00
|
|
|
#domeneshop = final.callPackage /home/pbsds/repos/nixpkgs-domemeshop/pkgs/development/python-modules/domeneshop { };
|
2022-10-17 22:40:48 +02:00
|
|
|
|
2023-02-24 21:36:30 +01:00
|
|
|
#shap = final.callPackage /home/pbsds/repos/nixpkgs-catboost/pkgs/development/python-modules/shap { };
|
|
|
|
#catboost = final.callPackage /home/pbsds/repos/nixpkgs-catboost/pkgs/development/python-modules/catboost { };
|
|
|
|
analytics-python = final.callPackage /home/pbsds/repos/nixpkgs-gradio/pkgs/development/python-modules/analytics-python { };
|
|
|
|
ffmpy = final.callPackage /home/pbsds/repos/nixpkgs-gradio/pkgs/development/python-modules/ffmpy { };
|
|
|
|
markdown-it-py = final.callPackage /home/pbsds/repos/nixpkgs-gradio/pkgs/development/python-modules/markdown-it-py { };
|
|
|
|
gradio = final.callPackage /home/pbsds/repos/nixpkgs-gradio/pkgs/development/python-modules/gradio { };
|
2022-10-17 22:40:48 +02:00
|
|
|
|
2023-02-24 21:36:30 +01:00
|
|
|
trivial-gradios = final.callPackage ./trivial-gradios { };
|
2022-10-17 22:40:48 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
};
|
2023-02-24 21:36:30 +01:00
|
|
|
in final: prev: {
|
2022-10-17 22:40:48 +02:00
|
|
|
|
2023-02-24 21:36:30 +01:00
|
|
|
#kukkee = prev.callPackage ./kukkee { };
|
|
|
|
#rallly = prev.callPackage ./rallly { };
|
2022-10-17 22:40:48 +02:00
|
|
|
|
2023-02-24 21:36:30 +01:00
|
|
|
#polaris = prev.callPackage /home/pbsds/repos/nixpkgs-polaris/pkgs/servers/polaris { };
|
|
|
|
#polaris-web = prev.callPackage /home/pbsds/repos/nixpkgs-polaris/pkgs/servers/polaris/web.nix { };
|
2022-10-17 22:40:48 +02:00
|
|
|
|
2023-02-24 21:36:30 +01:00
|
|
|
mapcrafter = prev.callPackage /home/pbsds/repos/nixpkgs-mapcrafter/pkgs/tools/games/minecraft/mapcrafter/default.nix { };
|
|
|
|
mapcrafter-world112 = prev.callPackage /home/pbsds/repos/nixpkgs-mapcrafter/pkgs/tools/games/minecraft/mapcrafter/default.nix { world="world112"; };
|
2022-10-17 22:40:48 +02:00
|
|
|
|
2023-02-24 21:36:30 +01:00
|
|
|
#python3.pkgs = prev.python3.pkgs.override overridePythonPackages;
|
|
|
|
python3Packages = prev.python3Packages.override overridePythonPackages;
|
2022-10-17 22:40:48 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
# How to test:
|
|
|
|
# nix-build -E 'with import <nixpkgs> { overlays = [ (import ./. ) ]; }; MY_PACKAGE'
|
|
|
|
|
|
|
|
# warning: using testing or unstable here (^) will infinitely recurse.
|