Skip to content

Commit

Permalink
Merge pull request #291 from pankona/nixos-24
Browse files Browse the repository at this point in the history
Bump and pin to NixOS 24.05 nixpkgs
  • Loading branch information
kachick authored Jul 4, 2024
2 parents 9de63be + 4ab246b commit 42be825
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 30 deletions.
25 changes: 4 additions & 21 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 7 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
inputs = {
# How to update the revision: `nix flake update --commit-lock-file`
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
edge-nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
flake-utils.url = "github:numtide/flake-utils";
};

outputs = { self, nixpkgs, edge-nixpkgs, flake-utils }:
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
edge-pkgs = edge-nixpkgs.legacyPackages.${system};
in
{
devShells.default = with pkgs;
Expand All @@ -30,10 +28,10 @@
nixpkgs-fmt
vim

edge-pkgs.dprint
dprint

edge-pkgs.hugo
edge-pkgs.go_1_22
hugo
go_1_22
dart-sass
];
};
Expand All @@ -45,8 +43,8 @@
{
name = "hugo-with-dependencies";
runtimeInputs = [
edge-pkgs.hugo
edge-pkgs.go_1_22
hugo
go_1_22
dart-sass
];
text = ''
Expand Down

0 comments on commit 42be825

Please sign in to comment.