sp-compat: Fix build

You can't run fixupPhase before installPhase.

http://hydra.nixos.org/build/8149119
This commit is contained in:
Eelco Dolstra 2014-01-17 12:13:20 +01:00
parent 7a6255e4e1
commit 86afcccecb

View File

@ -1,9 +1,9 @@
{ stdenv, opensp }:
stdenv.mkDerivation {
name = "sp-compat-${builtins.substring 7 100 opensp.name}";
name = "sp-compat-${stdenv.lib.getVersion opensp}";
phases = [ "fixupPhase" "installPhase" ];
phases = [ "installPhase" "fixupPhase" ];
installPhase = ''
mkdir -pv $out/bin