Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3106048

Browse files
authoredJun 3, 2024
Merge pull request #39 from vst/38-upgrade-to-nixpkgs-v2405
chore(deps): bump nixpkgs to v24.05
2 parents 55b22da + 9b053b5 commit 3106048

File tree

4 files changed

+7
-22
lines changed

4 files changed

+7
-22
lines changed
 

‎.github/workflows/check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: "Install nix"
1616
uses: "cachix/install-nix-action@v27"
1717
with:
18-
nix_path: "nixpkgs=channel:nixos-23.11"
18+
nix_path: "nixpkgs=channel:nixos-24.05"
1919

2020
- name: "Use magic Nix cache"
2121
uses: "DeterminateSystems/magic-nix-cache-action@v6"

‎build-static.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
## `--enable-executable-stripping`, hence the `strip` command usage.
1010

1111
## GHC version:
12-
GHC_VERSION="9.4.8"
12+
GHC_VERSION="9.6.5"
1313

1414
## Docker image:
1515
DOCKER_IMAGE="quay.io/benz0li/ghc-musl:${GHC_VERSION}"

‎default.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ let
1212
## Import nixpkgs pinned by niv:
1313
pkgs = import sources.nixpkgs { inherit system; };
1414

15-
## Import nixpkgs pinned by niv:
16-
pkgs-unstable = import sources.nixpkgs-unstable { inherit system; };
17-
1815
##################
1916
## LOAD HELPERS ##
2017
##################
@@ -110,7 +107,7 @@ let
110107
thisHaskell.hpack
111108

112109
## Application dependencies:
113-
pkgs-unstable.d2
110+
pkgs.d2
114111

115112
## Other build inputs for various development requirements:
116113
pkgs.docker-client

‎nix/sources.json

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,14 @@
11
{
22
"nixpkgs": {
3-
"branch": "release-23.11",
3+
"branch": "release-24.05",
44
"description": "Nix Packages collection",
55
"homepage": null,
66
"owner": "NixOS",
77
"repo": "nixpkgs",
8-
"rev": "40d989164088db79c1895f177ee67216d91ae8a5",
9-
"sha256": "149awch51367za8mjs2inx5m3jgijh9ibda1slf8gywc7lbalsaa",
8+
"rev": "4e08cafd686c7b2a191a82e593762c3a095f88eb",
9+
"sha256": "1pzc8mxwp1sqpnh32kf26skj656kbj7ysrp46d4kqmnlaz3chrqk",
1010
"type": "tarball",
11-
"url": "https://github.com/NixOS/nixpkgs/archive/40d989164088db79c1895f177ee67216d91ae8a5.tar.gz",
12-
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
13-
},
14-
"nixpkgs-unstable": {
15-
"branch": "nixpkgs-unstable",
16-
"description": "Nix Packages collection & NixOS",
17-
"homepage": "",
18-
"owner": "NixOS",
19-
"repo": "nixpkgs",
20-
"rev": "3f316d2a50699a78afe5e77ca486ad553169061e",
21-
"sha256": "1gfnjl8zjai1cjqhx96jjnnq7zjdn0ajd14xmb09jrgnjs0dw1im",
22-
"type": "tarball",
23-
"url": "https://github.com/NixOS/nixpkgs/archive/3f316d2a50699a78afe5e77ca486ad553169061e.tar.gz",
11+
"url": "https://github.com/NixOS/nixpkgs/archive/4e08cafd686c7b2a191a82e593762c3a095f88eb.tar.gz",
2412
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
2513
}
2614
}

0 commit comments

Comments
 (0)
Please sign in to comment.