Skip to content

Commit

Permalink
add package versions to bootstrap flake
Browse files Browse the repository at this point in the history
  • Loading branch information
tek committed Sep 24, 2023
1 parent 842bace commit f044dfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/hix/lib/Hix/Bootstrap.hs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ knownPackageKeys =
single "build-type" buildType,
single "copyright" (.copyright),
single "license" license,
singleOpt "license-file" (head . licenseFiles)
singleOpt "license-file" (head . licenseFiles),
single "version" (.package.pkgVersion)
]

metaPackageKeys :: PackageDescription -> [ExprAttr]
Expand Down
1 change: 1 addition & 0 deletions packages/hix/test/Hix/Test/BootstrapTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ flakeTarget =
build-type = "Simple";
license = "BSD-2-Clause-Patent";
license-file = "LICENSE";
version = "0.1.0.0";
meta = {
maintainer = "Panda";
synopsis = "A Haskell \"project\"";
Expand Down

0 comments on commit f044dfd

Please sign in to comment.