about summary refs log tree commit diff
path: root/nixpkgs/nixos/tests/shadow.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/tests/shadow.nix')
-rw-r--r--nixpkgs/nixos/tests/shadow.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/nixos/tests/shadow.nix b/nixpkgs/nixos/tests/shadow.nix
index c9a04088e870..a027af7e450b 100644
--- a/nixpkgs/nixos/tests/shadow.nix
+++ b/nixpkgs/nixos/tests/shadow.nix
@@ -32,7 +32,7 @@ in import ./make-test-python.nix ({ pkgs, ... }: {
       };
       users.berta = {
         isNormalUser = true;
-        hashedPassword = hashed_bcrypt;
+        hashedPasswordFile = (pkgs.writeText "hashed_bcrypt" hashed_bcrypt).outPath;
         shell = pkgs.bash;
       };
       users.yesim = {