about summary refs log tree commit diff
path: root/pkgs/development/misc/msp430
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-10-14 01:16:16 +0300
committerArtturin <Artturin@artturin.com>2022-10-14 20:48:09 +0300
commit61c3058bcb4877cecd4fd2e15ac64b5052b6aab2 (patch)
tree50a3837d655c1e1948516e15d3dd611cc0279f0d /pkgs/development/misc/msp430
parent96fa2023535f2768db28622b056140ee1e8d9d58 (diff)
all-packages.nix: remove `inherit (*xorg) *`'s
using inherits in callPackage args is discouraged and doesn't splice
correctly
Diffstat (limited to 'pkgs/development/misc/msp430')
-rw-r--r--pkgs/development/misc/msp430/newlib.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/misc/msp430/newlib.nix b/pkgs/development/misc/msp430/newlib.nix
index 4ea98bfc8b2e9..005d8f8cbd9f8 100644
--- a/pkgs/development/misc/msp430/newlib.nix
+++ b/pkgs/development/misc/msp430/newlib.nix
@@ -1,4 +1,4 @@
-{ stdenvNoCC, lndir, newlib, msp430GccSupport }:
+{ stdenvNoCC, xorg, newlib, msp430GccSupport }:
 
 stdenvNoCC.mkDerivation {
   name = "msp430-${newlib.name}";
@@ -10,9 +10,9 @@ stdenvNoCC.mkDerivation {
 
   buildCommand = ''
     mkdir $out
-    ${lndir}/bin/lndir -silent $newlib $out
-    ${lndir}/bin/lndir -silent $msp430GccSupport/include $out/${newlib.incdir}
-    ${lndir}/bin/lndir -silent $msp430GccSupport/lib $out/${newlib.libdir}
+    ${xorg.lndir}/bin/lndir -silent $newlib $out
+    ${xorg.lndir}/bin/lndir -silent $msp430GccSupport/include $out/${newlib.incdir}
+    ${xorg.lndir}/bin/lndir -silent $msp430GccSupport/lib $out/${newlib.libdir}
   '';
 
   passthru = {