nix-shell: template url should be string

This commit is contained in:
teutat3s 2024-08-14 19:17:43 +02:00
parent 890ed263f0
commit bc9e117893
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -33,7 +33,7 @@ in {
xdg.dataFile."shell.nix.tmpl" = { xdg.dataFile."shell.nix.tmpl" = {
text = '' text = ''
let let
unstable = import (fetchTarball https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz) { }; unstable = import (fetchTarball "https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz") { };
in in
{ nixpkgs ? import <nixpkgs> {} }: { nixpkgs ? import <nixpkgs> {} }:
with nixpkgs; mkShell { with nixpkgs; mkShell {