about summary refs log tree commit diff
path: root/nixpkgs/doc/shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/doc/shell.nix')
-rw-r--r--nixpkgs/doc/shell.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/nixpkgs/doc/shell.nix b/nixpkgs/doc/shell.nix
index 8ac2019f9d66..5fa2b4424899 100644
--- a/nixpkgs/doc/shell.nix
+++ b/nixpkgs/doc/shell.nix
@@ -1,5 +1,3 @@
-{ pkgs ? import ../. {} }:
-(import ./default.nix {}).overrideAttrs (x: {
-  buildInputs = x.buildInputs ++ [ pkgs.xmloscopy pkgs.ruby ];
-
-})
+{ pkgs ? import ../. { } }:
+(import ./default.nix { }).overrideAttrs
+(x: { buildInputs = (x.buildInputs or [ ]) ++ [ pkgs.xmloscopy pkgs.ruby ]; })