aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nix/dearpygui.nix (renamed from src/dearpygui.nix)0
-rw-r--r--src/nix/gnuradio-overlay.nix8
-rw-r--r--src/shell.nix4
3 files changed, 10 insertions, 2 deletions
diff --git a/src/dearpygui.nix b/src/nix/dearpygui.nix
index 1b26eaf..1b26eaf 100644
--- a/src/dearpygui.nix
+++ b/src/nix/dearpygui.nix
diff --git a/src/nix/gnuradio-overlay.nix b/src/nix/gnuradio-overlay.nix
new file mode 100644
index 0000000..48145b8
--- /dev/null
+++ b/src/nix/gnuradio-overlay.nix
@@ -0,0 +1,8 @@
+self: super: {
+ gnuradio = super.gnuradio.override {
+ extraPythonPackages = super.lib.attrVals [
+ "setuptools"
+ # Add more python packages here if you need any.
+ ] super.gnuradio.unwrapped.python.pkgs;
+ };
+}
diff --git a/src/shell.nix b/src/shell.nix
index edb49a5..b6351e8 100644
--- a/src/shell.nix
+++ b/src/shell.nix
@@ -1,7 +1,7 @@
# vim: set ts=2 sw=2 et:
-with import <nixpkgs> {};
+with import <nixpkgs> { overlays = [ (import ./nix/gnuradio-overlay.nix) ]; };
let
- dearpygui = callPackage ./dearpygui.nix {
+ dearpygui = callPackage ./nix/dearpygui.nix {
buildPythonPackage = pkgs.python38Packages.buildPythonPackage;
fetchPypi = pkgs.python38Packages.fetchPypi;
isPy38 = pkgs.python38Packages.isPy38;