diff options
Diffstat (limited to 'overlays/libdscp/default.nix')
-rw-r--r-- | overlays/libdscp/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/overlays/libdscp/default.nix b/overlays/libdscp/default.nix index 9e82f20e..46b622e9 100644 --- a/overlays/libdscp/default.nix +++ b/overlays/libdscp/default.nix | |||
@@ -1,12 +1,14 @@ | |||
1 | { final, prev, ... }: | 1 | { final, prev, ... }: |
2 | { | 2 | { |
3 | libdscp = prev.stdenv.mkDerivation { | 3 | libdscp = prev.stdenvNoCC.mkDerivation { |
4 | pname = "libdscp"; | 4 | pname = "libdscp"; |
5 | version = "0.0.0"; | 5 | version = "0.0.0"; |
6 | 6 | ||
7 | src = ./src; | 7 | src = ./src; |
8 | 8 | ||
9 | makeFlags = [ "PREFIX=$(out)" ]; | 9 | nativeBuildInputs = with final; [ gcc musl.dev ]; |
10 | |||
11 | makeFlags = [ "PREFIX=$(out)" "CC=musl-gcc" ]; | ||
10 | }; | 12 | }; |
11 | 13 | ||
12 | dscp = prev.writeShellApplication { | 14 | dscp = prev.writeShellApplication { |