3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Michal Sojka 611e9302f9 nixos-rebuild: add --no-flake switch
When a NixOS system uses flakes, i.e., /etc/nixos/flake.nix exists, it
is impossible to use nixos-rebuild to build a pre-flake
configuration.nix. Of course, one can directly use nix command to
build the configuration, but not everybody remembers the correct nix
options to do that.

With the new option, it is possible to build a pre-flake configuration
with command like this:

    nixos-rebuild build-vm -I nixos-config=./vm.nix --no-flake

The option might be useful for people following older pre-flake
tutorials on a flake-based system.
2022-03-22 19:03:10 +01:00
..
applications Merge pull request #163035 from felschr/filebot 2022-03-22 19:47:06 +02:00
build-support Merge pull request #164420 from corngood/build-fhs-fix 2022-03-22 19:57:02 +02:00
common-updater
data Merge pull request #164248 from Stunkymonkey/treewide-fetchFromGitHub-2 2022-03-22 02:13:45 +01:00
desktops Merge pull request #164324 from romildo/upd.xfce4-screenshooter 2022-03-21 21:07:30 +01:00
development Merge pull request #164241 from larsr/patch-1 2022-03-22 11:30:36 -05:00
games Merge pull request #164768 from LegoLoverGo/master 2022-03-22 20:16:23 +08:00
misc Merge pull request #163582 from Stunkymonkey/treewide-fetchFromGitHub-1 2022-03-22 07:27:54 +01:00
os-specific nixos-rebuild: add --no-flake switch 2022-03-22 19:03:10 +01:00
pkgs-lib
servers Merge pull request #165179 from r-ryantm/auto-update/matrix-synapse-plugins.matrix-synapse-mjolnir-antispam 2022-03-22 09:58:18 -07:00
shells
stdenv
test
tools Merge pull request #165220 from LibreCybernetics/update-keybase-gui 2022-03-22 19:37:43 +02:00
top-level python3Packages.zipstream-ng: init at 1.3.4 2022-03-22 08:43:15 -07:00