Skip to content

Commit

Permalink
Modernize the Nix infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jan 12, 2024
1 parent 50d1a08 commit 4339af1
Show file tree
Hide file tree
Showing 16 changed files with 266 additions and 248 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake
22 changes: 0 additions & 22 deletions .github/workflows/ci.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ cabal.project.local~
.ghc.environment.*
result
result-*

.direnv
23 changes: 0 additions & 23 deletions .vscode/tasks.json

This file was deleted.

12 changes: 12 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// We use https://github.com/juspay/jenkins-nix-ci

pipeline {
agent { label 'nixos' }
stages {
stage ('Build') {
steps {
nixCI ()
}
}
}
}
6 changes: 0 additions & 6 deletions bin/format

This file was deleted.

4 changes: 0 additions & 4 deletions bin/repl

This file was deleted.

8 changes: 0 additions & 8 deletions bin/run

This file was deleted.

4 changes: 0 additions & 4 deletions bin/run-via-tmux

This file was deleted.

11 changes: 5 additions & 6 deletions commonmark-simple.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,21 @@ category: Text

-- TODO: Before hackage release.
-- A short (one-line) description of the package.
synopsis: Simple interface to commonmark-hs
synopsis: Simple interface to commonmark-hs

-- A longer description of the package.
description: Simple interface to parsing Markdown using commonmark-hs
description: Simple interface to parsing Markdown using commonmark-hs

-- A URL where users can report bugs.
bug-reports: https://github.com/srid/commonmark-simple

bug-reports: https://github.com/srid/commonmark-simple
extra-source-files:
LICENSE
README.md

library
build-depends:
, aeson
, base >=4.13.0.0 && <=4.18.0.0
, base >=4.13.0.0 && <4.18.0.0.0
, commonmark
, commonmark-extensions
, commonmark-pandoc
Expand All @@ -48,7 +47,6 @@ library
-fprint-explicit-foralls -fprint-explicit-kinds

default-extensions:
NoStarIsType
BangPatterns
ConstraintKinds
DataKinds
Expand All @@ -74,6 +72,7 @@ library
LambdaCase
MultiParamTypeClasses
MultiWayIf
NoStarIsType
NumericUnderscores
OverloadedStrings
PolyKinds
Expand Down
16 changes: 0 additions & 16 deletions default.nix

This file was deleted.

105 changes: 81 additions & 24 deletions flake.lock

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

Loading

0 comments on commit 4339af1

Please sign in to comment.