summary refs log tree commit diff
path: root/doc/languages-frameworks/perl.section.md
Commit message (Collapse)AuthorAge
* doc: update shortenPerlShebang example to use nativeBuildInputsJakub Okoński2023-05-10
|
* doc: use sri hash syntaxColin Arnott2022-12-04
| | | | | | | | | | | | | | | | | | The nixpkgs manual contains references to both sri hash and explicit sha256 attributes. This is at best confusing to new users. Since the final destination is exclusive use of sri hashes, see nixos/rfcs#131, might as well push new users in that direction gently. Notable exceptions to sri hash support are builtins.fetchTarball, cataclysm-dda, coq, dockerTools.pullimage, elixir.override, and fetchCrate. None, other than builtins.fetchTarball, are fundamentally incompatible, but all currently accept explicit sha256 attributes as input. Because adding backwards compatibility is out of scope for this change, they have been left intact, but migration to sri format has been made for any using old hash formats. All hashes have been manually tested to be accurate, and updates were only made for missing upstream artefacts or bugs.
* buildPerlPackage: don't mess with `pname` and phase out use of `name`Malo Bourgon2022-06-07
| | | | | | | | Currently `buildPerlPackage` prefixes the Perl version to the package's `pname`, which results in `nix run` not being able to work for any packages build with it out of the box. This commit corrects that and phases out the ability to set `name` directly, as well as refactors the code to not require `cleanedAttrs`.
* doc: minimize mentions of nix-env -i without -A in nixpkgs manualGuillaume Girol2021-12-18
|
* treewide: ensure pre/post phase hooks are stringsSebastián Mancilla2021-08-20
| | | | | Some derivations use lib.optional or lib.optionals when setting pre/post phase hooks. Ensure the proper lib.optionalString is used.
* doc: add function argument order convention (#110060)V2021-01-20
| | | | | | | | | | | * doc: add function argument order convention Ordering by usage is the de facto ordering given to arguments. It's logical, and makes finding argument usage easier. Putting lib first is common in NixOS modules, so it's reasonable to mirror this in nixpkgs proper. Additionally, it's not a package as such, has zero dependencies, and can be found used anywhere in a derivation. * doc: clean up usage of lib
* doc: stdenv.lib -> libProfpatsch2021-01-11
| | | | | | | Part of: https://github.com/NixOS/nixpkgs/issues/108938 Changing the documentation to not refer to stdenv.lib is the first step to make people use it directly.
* doc: Port Perl to MarkdownStefan Schroeder2020-12-07