Skip to content

Commit

Permalink
clean-profile-gc-roots: Smartmatch with “None” instead of “Nil”
Browse files Browse the repository at this point in the history
Smartmatching with “Nil” is not reliable.
  • Loading branch information
unclechu committed Jan 14, 2024
1 parent 33248c4 commit 7108b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clean-profile-gc-roots.raku
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ package Cleanup {
.map("\t"~*)
).flat.map("\t"~*);

if nixosVersionMapping !~~ Nil {
if nixosVersionMapping !~~ None {
@lines.append: (
'Keeping one latest generation of each NixOS version:',

Expand Down

0 comments on commit 7108b76

Please sign in to comment.