Skip to content

Commit b7af258

Browse files
authored
Merge pull request #67 from MangoIV/mangoiv/updates
[chore] update dependencies and compiler
2 parents 702fd77 + 0e74dc5 commit b7af258

File tree

13 files changed

+22
-57
lines changed

13 files changed

+22
-57
lines changed

.github/workflows/cabal-audit.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,3 @@ jobs:
3434
- name: Build cabal-audit
3535
run: |
3636
nix -Lv build
37-
38-
- name: Build cabal-audit static
39-
run: |
40-
nix -Lv build .#cabal-audit-static -o result-static
41-
42-
- name: Create release artifacts
43-
run: |
44-
mkdir -p artifacts
45-
46-
cp result-static/bin/cabal-audit artifacts
47-
chmod +x artifacts/cabal-audit
48-
49-
- name: Upload static cabal-audit exe
50-
uses: actions/upload-artifact@v4
51-
with:
52-
name: cabal-audit
53-
path: artifacts/cabal-audit
54-
55-
- name: Release nightly cabal-audit exe
56-
if: github.ref == 'refs/heads/main'
57-
uses: softprops/action-gh-release@v2
58-
with:
59-
prerelease: true
60-
tag_name: nightly
61-
files: |
62-
artifacts/cabal-audit
63-
fail_on_unmatched_files: true

cabal-audit.cabal

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ maintainer: [email protected]
2222
category: Data
2323
extra-doc-files:
2424
extra-source-files:
25-
tested-with: GHC ==9.4.8 || ==9.6.6 || ==9.8.2
25+
tested-with: GHC ==9.8.4 || ==9.10.3 || ==9.12.2
2626

2727
common common-all
2828
ghc-options:
@@ -74,7 +74,7 @@ library
7474

7575
build-depends:
7676
, aeson
77-
, base <5
77+
, base >=4.18 && <5
7878
, bytestring
7979
, Cabal
8080
, cabal-install

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
description = "cabal-audit's flake";
44
inputs = {
55
# flake inputs
6-
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
6+
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
77

88
# flake parts
99
parts.url = "github:hercules-ci/flake-parts";
@@ -24,7 +24,7 @@
2424
...
2525
}: let
2626
hlib = pkgs.haskell.lib.compose;
27-
hspkgs = pkgs.haskell.packages.ghc98.override {
27+
hspkgs = pkgs.haskellPackages.override {
2828
overrides = import ./nix/haskell-overlay.nix {inherit hlib;};
2929
};
3030
in {
@@ -87,7 +87,7 @@
8787
text = let
8888
v = "fc3453aa95edb296b1e4409f53d1c1210b479fc8";
8989
cmd = pkg: ''
90-
cabal2nix https://github.com/haskell/security-advisories.git \
90+
cabal2nix https://github.com/haskell/security-advisories \
9191
--revision ${v} \
9292
--subpath code/${pkg}/ > ./${pkg}.nix
9393
'';

nix/cvss.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ mkDerivation {
1111
pname = "cvss";
1212
version = "0.2.0.1";
1313
src = fetchgit {
14-
url = "https://github.com/haskell/security-advisories.git";
14+
url = "https://github.com/haskell/security-advisories";
1515
sha256 = "114wj60jfdqb95h3fh3k8s0jy2nzya04rchidfdapnn0l5mf3xhn";
1616
rev = "fc3453aa95edb296b1e4409f53d1c1210b479fc8";
1717
fetchSubmodules = true;

nix/haskell-overlay.nix

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
1-
_: hfinal: hprev: {
1+
{hlib, ...}: hfinal: hprev: {
22
cabal-audit = hfinal.callPackage ./cabal-audit.nix {};
33
osv = hfinal.callPackage ./osv.nix {};
44
purl = hfinal.callPackage ./purl.nix {};
55
hsec-core = hfinal.callPackage ./hsec-core.nix {};
66
hsec-sync = hfinal.callPackage ./hsec-sync.nix {};
7-
hsec-tools = hfinal.callPackage ./hsec-tools.nix {};
7+
hsec-tools = hlib.doJailbreak (hfinal.callPackage ./hsec-tools.nix {});
88
cvss = hfinal.callPackage ./cvss.nix {};
99

10-
Cabal-syntax = hprev.Cabal-syntax_3_12_1_0;
11-
Cabal = hprev.Cabal_3_12_1_0;
12-
13-
extensions = hprev.extensions_0_1_0_2.override {inherit (hfinal) Cabal;};
14-
15-
toml-parser = hfinal.callHackage "toml-parser" "2.0.1.0" {};
16-
17-
typst = hfinal.callHackage "typst" "0.5.0.5" {};
18-
typst-symbols = hfinal.callHackage "typst-symbols" "0.1.6" {};
19-
texmath = hfinal.callHackage "texmath" "0.12.8.9" {};
10+
Cabal-syntax = hprev.Cabal-syntax_3_16_0_0;
11+
Cabal = hprev.Cabal_3_16_0_0;
2012
}

nix/hsec-core.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mkDerivation {
1717
pname = "hsec-core";
1818
version = "0.2.1.0";
1919
src = fetchgit {
20-
url = "https://github.com/haskell/security-advisories.git";
20+
url = "https://github.com/haskell/security-advisories";
2121
sha256 = "114wj60jfdqb95h3fh3k8s0jy2nzya04rchidfdapnn0l5mf3xhn";
2222
rev = "fc3453aa95edb296b1e4409f53d1c1210b479fc8";
2323
fetchSubmodules = true;

nix/hsec-sync.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mkDerivation {
2424
pname = "hsec-sync";
2525
version = "0.2.0.2";
2626
src = fetchgit {
27-
url = "https://github.com/haskell/security-advisories.git";
27+
url = "https://github.com/haskell/security-advisories";
2828
sha256 = "114wj60jfdqb95h3fh3k8s0jy2nzya04rchidfdapnn0l5mf3xhn";
2929
rev = "fc3453aa95edb296b1e4409f53d1c1210b479fc8";
3030
fetchSubmodules = true;

nix/hsec-tools.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ mkDerivation {
5050
pname = "hsec-tools";
5151
version = "0.3.0.0";
5252
src = fetchgit {
53-
url = "https://github.com/haskell/security-advisories.git";
53+
url = "https://github.com/haskell/security-advisories";
5454
sha256 = "114wj60jfdqb95h3fh3k8s0jy2nzya04rchidfdapnn0l5mf3xhn";
5555
rev = "fc3453aa95edb296b1e4409f53d1c1210b479fc8";
5656
fetchSubmodules = true;

nix/osv.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ mkDerivation {
1414
pname = "osv";
1515
version = "0.2.0.0";
1616
src = fetchgit {
17-
url = "https://github.com/haskell/security-advisories.git";
17+
url = "https://github.com/haskell/security-advisories";
1818
sha256 = "114wj60jfdqb95h3fh3k8s0jy2nzya04rchidfdapnn0l5mf3xhn";
1919
rev = "fc3453aa95edb296b1e4409f53d1c1210b479fc8";
2020
fetchSubmodules = true;

0 commit comments

Comments
 (0)