release: 21.05 -> 21.11 (#376)
* release: 21.05 -> 21.11 * adding back 20.09 (for now) Co-authored-by: Rok Garbas <rok@garbas.si>
This commit is contained in:
parent
dbf8c2d3a4
commit
70b72a343f
1
.github/workflows/cron-nixpkgs.yml
vendored
1
.github/workflows/cron-nixpkgs.yml
vendored
|
@ -16,6 +16,7 @@ jobs:
|
|||
matrix:
|
||||
channel:
|
||||
- unstable
|
||||
- 21.11
|
||||
- 21.05
|
||||
- 20.09
|
||||
|
||||
|
|
|
@ -479,6 +479,7 @@ type Channel
|
|||
= Unstable
|
||||
| Release_20_09
|
||||
| Release_21_05
|
||||
| Release_21_11
|
||||
|
||||
|
||||
{-| TODO: we should consider using more dynamic approach here
|
||||
|
@ -494,7 +495,7 @@ type alias ChannelDetails =
|
|||
|
||||
defaultChannel : String
|
||||
defaultChannel =
|
||||
"21.05"
|
||||
"21.11"
|
||||
|
||||
|
||||
channelDetails : Channel -> ChannelDetails
|
||||
|
@ -509,6 +510,9 @@ channelDetails channel =
|
|||
Release_21_05 ->
|
||||
ChannelDetails "21.05" "21.05" "nixos/release-21.05" "nixos-21.05"
|
||||
|
||||
Release_21_11 ->
|
||||
ChannelDetails "21.11" "21.11" "nixos/release-21.11" "nixos-21.11"
|
||||
|
||||
|
||||
channelFromId : String -> Maybe Channel
|
||||
channelFromId channel_id =
|
||||
|
@ -522,6 +526,9 @@ channelFromId channel_id =
|
|||
"21.05" ->
|
||||
Just Release_21_05
|
||||
|
||||
"21.11" ->
|
||||
Just Release_21_11
|
||||
|
||||
_ ->
|
||||
Nothing
|
||||
|
||||
|
@ -536,6 +543,7 @@ channels : List String
|
|||
channels =
|
||||
[ "20.09"
|
||||
, "21.05"
|
||||
, "21.11"
|
||||
, "unstable"
|
||||
]
|
||||
|
||||
|
@ -579,16 +587,21 @@ flakeIds =
|
|||
|
||||
flakes : List Flake
|
||||
flakes =
|
||||
[ { id = "latest-nixos-20.09-latest"
|
||||
[ { id = "latest-nixos-21.11-latest"
|
||||
, isNixpkgs = True
|
||||
, title = "Nixpkgs 20.09"
|
||||
, title = "Nixpkgs 21.11"
|
||||
, source = ""
|
||||
}
|
||||
, { id = "nixos-21.05-latest"
|
||||
, { id = "latest-nixos-21.05-latest"
|
||||
, isNixpkgs = True
|
||||
, title = "Nixpkgs 21.05"
|
||||
, source = ""
|
||||
}
|
||||
, { id = "nixos-21.09-latest"
|
||||
, isNixpkgs = True
|
||||
, title = "Nixpkgs 21.09"
|
||||
, source = ""
|
||||
}
|
||||
, { id = "latest-nixos-unstable"
|
||||
, isNixpkgs = True
|
||||
, title = "Nixpkgs Unstable"
|
||||
|
|
Loading…
Reference in a new issue