Skip to content

Commit

Permalink
Merge pull request #550 from nix-community/nixos-enter-warning
Browse files Browse the repository at this point in the history
recovery: prefer nixos-enter from pkgs if available
  • Loading branch information
K900 authored Sep 22, 2024
2 parents cc84991 + d1ea722 commit f9f28d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/recovery.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ config, pkgs, ... }:
let
nixos-enter' = config.system.build.nixos-enter.overrideAttrs (_: {
nixos-enter = pkgs.nixos-enter or config.system.build.nixos-enter;
nixos-enter' = nixos-enter.overrideAttrs (_: {
runtimeShell = "/bin/bash";
});

Expand Down

0 comments on commit f9f28d8

Please sign in to comment.