Skip to content

Commit 1e359a3

Browse files
attempt to install pinned version of git using nix
1 parent 255c749 commit 1e359a3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

playbook.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686

8787
vars:
8888
git_version: "2.43.0"
89-
git_version_to_install: "1:{{ git_version }}-1ubuntu7"
89+
nixos_release: "26.05"
9090
keychain_version: "2.8.5"
9191
keychain_version_to_install: "{{ keychain_version }}-4"
9292
keychain_version_expected: "{{ keychain_version }}.."
@@ -98,8 +98,8 @@
9898
update_cache: yes
9999
- name: Add kasm-user to nix-users group
100100
shell: usermod -aG nix-users kasm-user
101-
- name: Install git with nix
102-
shell: nix profile install nixpkgs#git --extra-experimental-features nix-command --extra-experimental-features flakes
101+
- name: Install git {{ git_version }} with nix
102+
shell: nix profile install nixpkgs/{{ nixos_release }}#git --extra-experimental-features nix-command --extra-experimental-features flakes
103103
- name: Install Git Bash Completion
104104
apt:
105105
name: bash-completion

0 commit comments

Comments
 (0)