diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-12 13:48:19 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-11-12 13:48:30 +0100 |
commit | 785eaf2cea3c57daef96bb209f44589e3f48a7ff (patch) | |
tree | 3324d7de769b7a5c063107b09b294b6af2b823e1 /nixos/modules/services/torrent | |
parent | 39e9fabae0fe5476ad682a52dba42b2c6dbe1a57 (diff) | |
download | nixlib-785eaf2cea3c57daef96bb209f44589e3f48a7ff.tar nixlib-785eaf2cea3c57daef96bb209f44589e3f48a7ff.tar.gz nixlib-785eaf2cea3c57daef96bb209f44589e3f48a7ff.tar.bz2 nixlib-785eaf2cea3c57daef96bb209f44589e3f48a7ff.tar.lz nixlib-785eaf2cea3c57daef96bb209f44589e3f48a7ff.tar.xz nixlib-785eaf2cea3c57daef96bb209f44589e3f48a7ff.tar.zst nixlib-785eaf2cea3c57daef96bb209f44589e3f48a7ff.zip |
Add some primops to lib
Diffstat (limited to 'nixos/modules/services/torrent')
-rw-r--r-- | nixos/modules/services/torrent/transmission.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix index 063332d48628..68f9b0647c0e 100644 --- a/nixos/modules/services/torrent/transmission.nix +++ b/nixos/modules/services/torrent/transmission.nix @@ -15,7 +15,7 @@ let toOption = x: if x == true then "true" else if x == false then "false" - else if builtins.isInt x then toString x + else if isInt x then toString x else toString ''\"${x}\"''; # All lines in settings.json end with a ',' (comma), except for the last |