From 66e32d4f8fa719db7701f51b336e42d0116d780e Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Sat, 7 Dec 2024 01:22:09 -0800 Subject: Add pysocks dependency to openstackclient-full --- hosts/richese/default.nix | 9 +++++++++ overlays/default.nix | 5 +---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/hosts/richese/default.nix b/hosts/richese/default.nix index d612b07..e2c37d5 100644 --- a/hosts/richese/default.nix +++ b/hosts/richese/default.nix @@ -38,6 +38,15 @@ config.allowUnfree = true; hostPlatform = "x86_64-linux"; overlays = [ + (final: prev: { + pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [( + python-final: python-prev: { + openstackclient-full = python-prev.openstackclient-full.overridePythonAttrs (oldAttrs: { + dependencies = oldAttrs.dependencies ++ [ pkgs.python311Packages.pysocks ]; + }); + } + )]; + }) outputs.overlays.additions outputs.overlays.modifications outputs.overlays.master-packages diff --git a/overlays/default.nix b/overlays/default.nix index e68ab95..aaab968 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -9,7 +9,7 @@ # outputs.overlays.stable-packages # ] -{inputs, pkgs, ...}: { +{inputs, ...}: { # This one brings our custom packages from the 'pkgs' directory additions = final: _prev: import ../pkgs final.pkgs; @@ -20,9 +20,6 @@ # example = prev.example.overrideAttrs (oldAttrs: rec { # ... # }); - openstackclient-full = prev.openstackclient-full.overridePythonAttrs (oldAttrs: rec { - dependencies = oldAttrs.dependencies ++ [ pkgs.python311Packages.pysocks ]; - }); }; "67e692392-packages" = final: _prev: { -- cgit v1.2.3