···115115 # put the devshell into the resulting image env.
116116 # we do this instead of using a `.nix` file because it lets us skip eval time.
117117 environment.etc = lib.mkIf (dependencies != []) {
118118- "spindle/devshell.drv".source = spindleDevShell.drvPath;
118118+ # this is safe because we have the closure in the env also!
119119+ "spindle/devshell-drv".text = builtins.unsafeDiscardStringContext spindleDevShell.drvPath;
119120 "spindle/devshell-closure".source = pkgs.closureInfo {rootPaths = [spindleDevShell];};
120121 };
121122 services = builtins.mapAttrs (normalize (options.services or {})) (userConfig.services or {});