-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9573 from hercules-ci/rl-next-md-frontmatter
rl-next: Fix and support markdown frontmatter syntax
- Loading branch information
Showing
10 changed files
with
94 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
--- | ||
synopsis: Mounted SSH Store | ||
issues: #7890 | ||
prs: #7912 | ||
description: { | ||
issues: 7890 | ||
prs: 7912 | ||
--- | ||
|
||
Introduced the store [`mounted-ssh-ng://`](@docroot@/command-ref/new-cli/nix3-help-stores.md). | ||
This store allows full access to a Nix store on a remote machine and additionally requires that the store be mounted in the local filesystem. | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
synopsis: `nix config show` | ||
issues: #7672 | ||
prs: #9477 | ||
description: { | ||
--- | ||
synopsis: Rename to `nix config show` | ||
issues: 7672 | ||
prs: 9477 | ||
--- | ||
|
||
`nix show-config` was renamed to `nix config show`, and `nix doctor` was renamed to `nix config check`, to be more consistent with the rest of the command-line interface. | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
--- | ||
synopsis: Fix `nix-env --query --drv-path --json` | ||
prs: #9257 | ||
description: { | ||
prs: 9257 | ||
--- | ||
|
||
Fixed a bug where `nix-env --query` ignored `--drv-path` when `--json` was set. | ||
|
||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ mkDerivation, aeson, base, bytestring, cabal-install-parsers | ||
, Cabal-syntax, containers, directory, filepath, frontmatter | ||
, generic-lens-lite, lib, mtl, optparse-applicative, parsec, pretty | ||
, regex-applicative, text, pkgs | ||
}: | ||
let rev = "f30f6969e9cd8b56242309639d58acea21c99d06"; | ||
in | ||
mkDerivation { | ||
pname = "changelog-d"; | ||
version = "0.1"; | ||
src = pkgs.fetchurl { | ||
name = "changelog-d-${rev}.tar.gz"; | ||
url = "https://codeberg.org/roberth/changelog-d/archive/${rev}.tar.gz"; | ||
hash = "sha256-8a2+i5u7YoszAgd5OIEW0eYUcP8yfhtoOIhLJkylYJ4="; | ||
} // { inherit rev; }; | ||
isLibrary = false; | ||
isExecutable = true; | ||
libraryHaskellDepends = [ | ||
aeson base bytestring cabal-install-parsers Cabal-syntax containers | ||
directory filepath frontmatter generic-lens-lite mtl parsec pretty | ||
regex-applicative text | ||
]; | ||
executableHaskellDepends = [ | ||
base bytestring Cabal-syntax directory filepath | ||
optparse-applicative | ||
]; | ||
doHaddock = false; | ||
description = "Concatenate changelog entries into a single one"; | ||
license = lib.licenses.gpl3Plus; | ||
mainProgram = "changelog-d"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Taken temporarily from <nixpkgs/pkgs/by-name/ch/changelog-d/package.nix> | ||
{ | ||
callPackage, | ||
lib, | ||
haskell, | ||
haskellPackages, | ||
}: | ||
|
||
let | ||
hsPkg = haskellPackages.callPackage ./changelog-d.cabal.nix { }; | ||
|
||
addCompletions = haskellPackages.generateOptparseApplicativeCompletions ["changelog-d"]; | ||
|
||
haskellModifications = | ||
lib.flip lib.pipe [ | ||
addCompletions | ||
haskell.lib.justStaticExecutables | ||
]; | ||
|
||
mkDerivationOverrides = finalAttrs: oldAttrs: { | ||
|
||
version = oldAttrs.version + "-git-${lib.strings.substring 0 7 oldAttrs.src.rev}"; | ||
|
||
meta = oldAttrs.meta // { | ||
homepage = "https://codeberg.org/roberth/changelog-d"; | ||
maintainers = [ lib.maintainers.roberth ]; | ||
}; | ||
|
||
}; | ||
in | ||
(haskellModifications hsPkg).overrideAttrs mkDerivationOverrides |