diff options
author | Mark Nipper <nipsy@bitgnome.net> | 2024-12-07 01:22:09 -0800 |
---|---|---|
committer | Mark Nipper <nipsy@bitgnome.net> | 2024-12-07 01:22:09 -0800 |
commit | 66e32d4f8fa719db7701f51b336e42d0116d780e (patch) | |
tree | d69f401191a3286a0c96bd059d34e65975cd72aa | |
parent | beb2457914cd3eadea21fcd5198f0b28e3818468 (diff) | |
download | nix-66e32d4f8fa719db7701f51b336e42d0116d780e.tar nix-66e32d4f8fa719db7701f51b336e42d0116d780e.tar.gz nix-66e32d4f8fa719db7701f51b336e42d0116d780e.tar.bz2 nix-66e32d4f8fa719db7701f51b336e42d0116d780e.tar.lz nix-66e32d4f8fa719db7701f51b336e42d0116d780e.tar.xz nix-66e32d4f8fa719db7701f51b336e42d0116d780e.tar.zst nix-66e32d4f8fa719db7701f51b336e42d0116d780e.zip |
Add pysocks dependency to openstackclient-full
-rw-r--r-- | hosts/richese/default.nix | 9 | ||||
-rw-r--r-- | 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: { |