File tree 2 files changed +25
-1
lines changed
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ <!--
2
+
3
+ A new changelog entry.
4
+
5
+ Delete placeholder items that do not apply. Empty sections will be removed
6
+ automatically during release.
7
+
8
+ Leave the XX.XX as is: this is a placeholder and will be automatically filled
9
+ correctly during the release and helps when backporting over multiple platform
10
+ branches.
11
+
12
+ -->
13
+
14
+
15
+ ### NixOS XX.XX platform
16
+
17
+ - install python-3.11 by default in addition to the default python-3.12
Original file line number Diff line number Diff line change 3
3
{
4
4
config = {
5
5
6
- environment . systemPackages = with pkgs ; [
6
+ environment . systemPackages = with pkgs ;
7
+ let
8
+ previousPythonVersion = ver :
9
+ "${ lib . versions . major ver } ${ toString ( lib . toInt ( lib . versions . minor ver ) - 1 ) } " ;
10
+ previousPython = pkgs . "python${ previousPythonVersion pkgs . python3 . version } " ;
11
+ in [
7
12
apacheHttpd
8
13
atop
9
14
automake
52
57
psmisc
53
58
pwgen
54
59
( python3 . withPackages ( ps : with ps ; [ setuptools ] ) )
60
+ # keep around at least one previous python version for upgrade compatibility
61
+ ( previousPython . withPackages ( ps : with ps ; [ setuptools ] ) )
55
62
python3Packages . virtualenv
56
63
rclone
57
64
ripgrep
You can’t perform that action at this time.
0 commit comments