about summary refs log tree commit diff
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-03-17 05:12:27 +0100
committeraszlig <aszlig@redmoonstudios.org>2014-03-17 05:12:27 +0100
commit91e6fd0d224c961707d5c4980ee96f6c0f81de20 (patch)
tree5d8531938c7d9a335040607de32d67a9cfc83207
parentc390a01230935eb3f0ef66b3c2871c34dcf17663 (diff)
axbo: Move src attribute to the top.
No change in functionality, it just felt ugly to me :-D

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r--overrides/axbo/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/overrides/axbo/default.nix b/overrides/axbo/default.nix
index 527c04be..d83e891d 100644
--- a/overrides/axbo/default.nix
+++ b/overrides/axbo/default.nix
@@ -4,6 +4,13 @@ stdenv.mkDerivation rec {
   name = "axbo-research-${version}";
   version = "2.0.18";
 
+  src = fetchurl {
+    url = let
+      urlversion = stdenv.lib.replaceChars ["."] ["_"] version;
+    in "https://www.dropbox.com/s/shy0yqcyivonobi/aXbo_unix_${urlversion}.sh";
+    sha256 = "1zc3bpqfa5pdpl7masigvv98mi5phl04p80fyd2ink33xbmik70z";
+  };
+
   buildInputs = [ oraclejre librxtx_java ];
 
   unpackCmd = let
@@ -67,11 +74,4 @@ stdenv.mkDerivation rec {
     WRAPPER
     chmod +x "$out/bin/axbo-research"
   '';
-
-  src = fetchurl {
-    url = let
-      urlversion = stdenv.lib.replaceChars ["."] ["_"] version;
-    in "https://www.dropbox.com/s/shy0yqcyivonobi/aXbo_unix_${urlversion}.sh";
-    sha256 = "1zc3bpqfa5pdpl7masigvv98mi5phl04p80fyd2ink33xbmik70z";
-  };
 }