Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 60ec578e6a1e
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 84067b7ef1f3
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 29, 2019

  1. lib: lists: Alias builtins.map

    Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
    Suggested-by: Profpatsch <mail@profpatsch.de>
    matthiasbeyer committed Mar 29, 2019
    Copy the full SHA
    3cf40fc View commit details
  2. Merge pull request #58537 from matthiasbeyer/alias-map

    lib: lists: Alias map = builtins.map
    infinisil authored Mar 29, 2019
    Copy the full SHA
    84067b7 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/lists.nix
2 changes: 1 addition & 1 deletion lib/lists.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ let
in
rec {

inherit (builtins) head tail length isList elemAt concatLists filter elem genList;
inherit (builtins) head tail length isList elemAt concatLists filter elem genList map;

/* Create a list consisting of a single element. `singleton x` is
sometimes more convenient with respect to indentation than `[x]`