about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-10-27 10:05:01 +0100
committerDaiderd Jordan <daiderd@gmail.com>2018-10-27 10:05:01 +0100
commit561fb30ac62e39cea4d34916e807763e1bd95acf (patch)
treef67588526979e69dfaa82dabfcc5d60b9c086a38
parent0b381dd9ca53e9f22bb2b7276e061734aeb1c6e8 (diff)
downloadnixlib-561fb30ac62e39cea4d34916e807763e1bd95acf.tar
nixlib-561fb30ac62e39cea4d34916e807763e1bd95acf.tar.gz
nixlib-561fb30ac62e39cea4d34916e807763e1bd95acf.tar.bz2
nixlib-561fb30ac62e39cea4d34916e807763e1bd95acf.tar.lz
nixlib-561fb30ac62e39cea4d34916e807763e1bd95acf.tar.xz
nixlib-561fb30ac62e39cea4d34916e807763e1bd95acf.tar.zst
nixlib-561fb30ac62e39cea4d34916e807763e1bd95acf.zip
loc: enable darwin build
It works fine there and probably other unix platforms.
-rw-r--r--pkgs/development/misc/loc/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/misc/loc/default.nix b/pkgs/development/misc/loc/default.nix
index b43deeceb867..4cb612523dc5 100644
--- a/pkgs/development/misc/loc/default.nix
+++ b/pkgs/development/misc/loc/default.nix
@@ -15,12 +15,12 @@ buildRustPackage rec {
 
   cargoSha256 = "0y2ww48vh667kkyg9pyjwcbh7fxi41bjnkhwp749crjqn2abimrk";
 
-  meta = {
+  meta = with stdenv.lib; {
     homepage = https://github.com/cgag/loc;
     description = "Count lines of code quickly";
     license = stdenv.lib.licenses.mit;
     maintainers = with stdenv.lib.maintainers; [ ];
-    platforms = with stdenv.lib.platforms; linux;
+    platforms = platforms.unix;
   };
 }