summary refs log tree commit diff
path: root/pkgs/applications/audio/virtual-ans/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/virtual-ans/default.nix')
-rw-r--r--pkgs/applications/audio/virtual-ans/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/audio/virtual-ans/default.nix b/pkgs/applications/audio/virtual-ans/default.nix
index 24e112aff2b..c1e41e41284 100644
--- a/pkgs/applications/audio/virtual-ans/default.nix
+++ b/pkgs/applications/audio/virtual-ans/default.nix
@@ -1,9 +1,9 @@
-{ stdenv
+{ lib, stdenv
 , fetchzip
 , libX11
 , libXi
 , libGL
-, alsaLib
+, alsa-lib
 , SDL2
 , autoPatchelfHook
 }:
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
     libX11
     libXi
     libGL
-    alsaLib
+    alsa-lib
     SDL2
   ];
 
@@ -46,13 +46,13 @@ stdenv.mkDerivation rec {
   startScript = if stdenv.isx86_32 then "START_LINUX_X86"
     else        if stdenv.isx86_64 then "START_LINUX_X86_64"
     #else        if stdenv.isDarwin then "START_MACOS.app" # disabled because I cannot test on Darwin
-    else abort "Unsupported platform: ${stdenv.platform.kernelArch}.";
+    else abort "Unsupported platform: ${stdenv.hostPlatform.linuxArch}.";
 
   linuxExecutable = if stdenv.isx86_32 then "pixilang_linux_x86"
     else            if stdenv.isx86_64 then "pixilang_linux_x86_64"
     else                                    "";
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     description = "Photoelectronic microtonal/spectral musical instrument";
     longDescription = ''
       Virtual ANS is a software simulator of the unique Russian synthesizer ANS