diff options
Diffstat (limited to 'nixos/modules/installer/tools/tools.nix')
-rw-r--r-- | nixos/modules/installer/tools/tools.nix | 41 |
1 files changed, 2 insertions, 39 deletions
diff --git a/nixos/modules/installer/tools/tools.nix b/nixos/modules/installer/tools/tools.nix index 91a30695a7a..99a74b6d59e 100644 --- a/nixos/modules/installer/tools/tools.nix +++ b/nixos/modules/installer/tools/tools.nix @@ -1,7 +1,7 @@ # This module generates nixos-install, nixos-rebuild, # nixos-generate-config, etc. -{ config, pkgs, modulesPath, lib, ... }: +{ config, pkgs, modulesPath, ... }: let @@ -50,49 +50,12 @@ let nixos-version = makeProg { name = "nixos-version"; src = ./nixos-version.sh; - inherit (config.system) nixosVersion nixosCodeName; + inherit (config.system) nixosVersion nixosCodeName nixosRevision; }; - /* - nixos-gui = pkgs.xulrunnerWrapper { - launcher = "nixos-gui"; - application = pkgs.stdenv.mkDerivation { - name = "nixos-gui"; - buildCommand = '' - cp -r "$gui" "$out" - - # Do not force the copy if the file exists in the sources (this - # happens for developpers) - test -e "$out/chrome/content/jquery-1.5.2.js" || - cp -f "$jquery" "$out/chrome/content/jquery-1.5.2.js" - ''; - gui = lib.cleanSource "${modulesPath}/../gui"; - jquery = pkgs.fetchurl { - url = http://code.jquery.com/jquery-1.5.2.min.js; - sha256 = "8f0a19ee8c606b35a10904951e0a27da1896eafe33c6e88cb7bcbe455f05a24a"; - }; - }; - }; - */ - in { - /* - options = { - - installer.enableGraphicalTools = mkOption { - default = false; - type = types.bool; - example = true; - description = '' - Enable the installation of graphical tools. - ''; - }; - - }; - */ - config = { environment.systemPackages = [ nixos-build-vms |