aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaoki Pross <np@0hm.ch>2021-10-24 15:45:03 +0200
committerNaoki Pross <np@0hm.ch>2021-10-24 15:45:03 +0200
commitf203414b019f95af5b4a9391f1f9962a937e60c0 (patch)
tree048392e6fc3417037c8598397f234af5765fa4c0
parentMake gr block compilable (diff)
downloadFading-f203414b019f95af5b4a9391f1f9962a937e60c0.tar.gz
Fading-f203414b019f95af5b4a9391f1f9962a937e60c0.zip
Create nix overlay for gnuradio
Diffstat (limited to '')
-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;