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: d101dc033af3
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8a85c16f61d0
Choose a head ref

Commits on Apr 15, 2020

  1. containerd: fix --version output

    Before this change, 'containerd --version' with the nix package wouldn't
    print useful version information.
    
    In addition, the build output a bunch of (harmless) errors about 'git:
    command not found'.
    
    This fixes both of those problems.
    euank committed Apr 15, 2020
    Copy the full SHA
    6d3eaa0 View commit details

Commits on Apr 20, 2020

  1. Copy the full SHA
    3e880ba View commit details

Commits on Apr 21, 2020

  1. Copy the full SHA
    c450617 View commit details
  2. Copy the full SHA
    125c469 View commit details
  3. darwin.cctools: install ar man pages

    In the distribution they are located in a separate directory from the
    others and the standard installation doesn't process them.
    veprbl committed Apr 21, 2020
    Copy the full SHA
    c00ad79 View commit details

Commits on Apr 23, 2020

  1. dnnl: rename to oneDNN to track upstream project rename

    See the link in the default.nix file for details.  This adds an alias for
    backwards compatibility.
    bhipple committed Apr 23, 2020
    Copy the full SHA
    bab9dab View commit details

Commits on Apr 24, 2020

  1. Copy the full SHA
    3ec47a7 View commit details
  2. Copy the full SHA
    ff642c5 View commit details

Commits on Apr 26, 2020

  1. meson: Don't set CC and CXX

    I've since convinced upstream to not use such vars for the build
    platform during cross. Finally!
    Ericson2314 committed Apr 26, 2020
    Copy the full SHA
    3c00ca0 View commit details
  2. opencv4: 4.1.2 -> 4.3.0

    lovesegfault committed Apr 26, 2020
    Copy the full SHA
    080c064 View commit details
  3. coreutils: set ac_cv_func_lchmod=no

    Bumping binutils to 2.32 broke coreutils for unknown reasons[1]. Upon
    further investigation we found that there was some issue with mknod
    inside a chroot[2][3], which setting ac_cv_func_lchmod to "no" _somehow_
    fixes.
    
    We apply this fix and hope to never have to debug this again.
    
    Thanks to @flokli and @LnL7 who helped me chase after this and @pbogdan
    who found the fix in the fedora build.
    
    [1]: #85951
    [2]: #85951 (comment)
    [3]: https://bugzilla.redhat.com/show_bug.cgi?id=1811038
    lovesegfault committed Apr 26, 2020
    Copy the full SHA
    c5e3472 View commit details
  4. binutils: 2.31.1 -> 2.33.1

    - I've removed the stack of patch linked to
    https://sourceware.org/bugzilla/show_bug.cgi?id=23428 . The associated
    issue says it is closed and targeted for 2.32.
    
    - I've ugraded the "no_plugin" patch. The logic changed in
    https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51
    and I tried to keep the same logic by disabling everything.
    
    It closes #78197
    guibou authored and lovesegfault committed Apr 26, 2020
    Copy the full SHA
    efdb295 View commit details
  5. binutils: 2.33.1 -> 2.34

    lovesegfault committed Apr 26, 2020
    Copy the full SHA
    c5f602f View commit details

Commits on Apr 27, 2020

  1. Merge pull request #85935 from arianvp/fix-libcbor

    libcbor: Fix pkgconfig being placed correctly
    bhipple authored Apr 27, 2020
    Copy the full SHA
    d9e9e50 View commit details
  2. iana_etc: 20190731 -> 20200407

    Mic92 committed Apr 27, 2020
    Copy the full SHA
    ce6e0ab View commit details
  3. Merge pull request #85879 from lovesegfault/opencv-4.3.0

    opencv4: 4.1.2 -> 4.3.0
    flokli authored Apr 27, 2020
    Copy the full SHA
    be36fc6 View commit details
  4. Merge pull request #85951 from lovesegfault/binutils-2.34

    binutils: 2.31.1 -> 2.34
    flokli authored Apr 27, 2020
    Copy the full SHA
    d0818e2 View commit details
  5. Merge staging-next into staging

    FRidh committed Apr 27, 2020
    Copy the full SHA
    80d069b View commit details
  6. Copy the full SHA
    1672f4e View commit details
  7. Copy the full SHA
    e19e5ac View commit details
  8. Copy the full SHA
    cca7143 View commit details
  9. Copy the full SHA
    8311b59 View commit details
  10. Copy the full SHA
    7ba0848 View commit details
  11. Copy the full SHA
    62425ee View commit details
  12. Copy the full SHA
    f72c254 View commit details
  13. Copy the full SHA
    5cfd192 View commit details
  14. Copy the full SHA
    d2e9454 View commit details
  15. Copy the full SHA
    04ccf59 View commit details
  16. Copy the full SHA
    a034c18 View commit details
  17. Copy the full SHA
    1046251 View commit details
  18. Copy the full SHA
    d2a2b76 View commit details
  19. Copy the full SHA
    6eb61b5 View commit details
  20. Copy the full SHA
    6db8443 View commit details
  21. Copy the full SHA
    67c4087 View commit details
  22. python: numpy: 1.18.2 -> 1.18.3

    FRidh committed Apr 27, 2020
    Copy the full SHA
    5ca64bb View commit details
  23. Copy the full SHA
    6974739 View commit details
  24. python: tqdm: 4.44.0 -> 4.45.0

    FRidh committed Apr 27, 2020
    Copy the full SHA
    f7a8dc8 View commit details
  25. Copy the full SHA
    4ffb40b View commit details
  26. libglvnd: 1.2.0 -> 1.3.1

    lheckemann authored and FRidh committed Apr 27, 2020
    Copy the full SHA
    166f2a0 View commit details
  27. Copy the full SHA
    ddf0438 View commit details
  28. libfido2: make builds reproducible

    KamilaBorowska authored and FRidh committed Apr 27, 2020
    Copy the full SHA
    f05a209 View commit details
  29. Merge pull request #85945 from matthewbauer/compiler-rt-support-x86_32

    llvm/compiler-rt.nix: add i{4,5,6}86 to X86 architecture
    matthewbauer authored Apr 27, 2020
    Copy the full SHA
    537f10f View commit details
  30. makeself: 2.4.0 -> 2.4.2

    Upstream now provides a Makefile that builds a self-extracting installer and
    also has a test target.  We don't need the self-extracting installer, but we
    might as well build it anyway as an additional test.
    kini committed Apr 27, 2020
    Copy the full SHA
    3f00b95 View commit details

Commits on Apr 28, 2020

  1. sof-firmware: init at 1.4.2

    lblasc committed Apr 28, 2020
    Copy the full SHA
    fe7f770 View commit details
  2. Copy the full SHA
    3f17518 View commit details
  3. Copy the full SHA
    c59c4e3 View commit details
  4. Copy the full SHA
    b5dc07a View commit details
  5. pandoc: remove GHC from the runtime closure (2.4GB -> 180MB)

    Also moves the overrides to its own file before we clutter
    all-packages.nix any further.
    
    Comparison of the runtime closure:
    
    Before:
    
    [{'path': b'/nix/store/mxaxvp33wg9sim8qh2kkw041v492bvxj-libunistring-0.9.10',
      'size': '1,634,416'},
     {'path': b'/nix/store/hjng28vbd73qq9iz9j8r397x19aa8fp9-libidn2-2.3.0',
      'size': '222,672'},
     {'path': b'/nix/store/6m2k8kx8h216jlx9dg3lp4m90bz05yck-glibc-2.30',
      'size': '31,082,264'},
     {'path': b'/nix/store/0infa8sv151a1j6zz6lizbpmwv4ksh67-gcc-9.2.0-lib',
      'size': '6,284,904'},
     {'path': b'/nix/store/9si14qjcz8072c0v42zbkglq08s2cg04-bash-4.4-p23',
      'size': '1,325,208'},
     {'path': b'/nix/store/bnqfi6ycx6khjfmyyz0wvdgaq4k5p8wv-ghc-8.6.5-doc',
      'size': '264,802,472'},
     {'path': b'/nix/store/8xhn1y70dbvc5sqxaxvbgc5nqdiahyb2-hashable-1.2.7.0-doc',
      'size': '902,800'},
     {'path': b'/nix/store/cikknfzlf88qj0fi5m7r547biyji0vnw-primitive-0.6.4.0-doc',
      'size': '4,520,392'},
     {'path': b'/nix/store/drbcz1f6qfas7r8fsb6qriafzypah1kd-integer-logarithms-1'
              b'.0.3-doc',
      'size': '354,280'},
     {'path': b'/nix/store/idk0kl0xg7kmzri5d9bfz4h32ycbz1bw-scientific-0.3.6.2-doc',
      'size': '925,408'},
     {'path': b'/nix/store/0qxwawz8fc3nz59n07scgh1b3l68ifwf-attoparsec-0.13.2.3-'
              b'doc',
      'size': '3,234,760'},
     {'path': b'/nix/store/6wfnl0kvgz9r1z8wp53ildc2hgsysybl-libffi-3.3',
      'size': '56,728'},
     {'path': b'/nix/store/d38akrx7lljl6pl5gqdxcsmf57k9w08v-gmp-6.2.0',
      'size': '751,936'},
     {'path': b'/nix/store/fv7c5dxd6cq0w2yl21rpsgmwra87h7x5-ncurses-6.1-20190112',
      'size': '3,556,472'},
     {'path': b'/nix/store/m0w464nw8ry965np116v3zi0azhcr2ql-attr-2.4.48',
      'size': '89,136'},
     {'path': b'/nix/store/fv2g7kwbr8a609rzq56fv8lm5h1brwxd-acl-2.2.53',
      'size': '109,920'},
     {'path': b'/nix/store/bgvd279hrb53i3ah2mi0nf8jp6g6g6g9-coreutils-8.31',
      'size': '1,839,848'},
     {'path': b'/nix/store/6hhxlbabm7xxdfdw9mbxb8llh63k1bxx-linux-headers-4.19.16',
      'size': '4,960,528'},
     {'path': b'/nix/store/v235kcs9jfd5vw9d1ylwilqvf49dyjhg-glibc-2.30-bin',
      'size': '2,750,608'},
     {'path': b'/nix/store/c9l946swbx2v67mwamd3vrypha4l9nz0-glibc-2.30-dev',
      'size': '2,479,160'},
     {'path': b'/nix/store/qvgf4g9c5h3wzq4xjy566vc0pqgc9fjq-zlib-1.2.11',
      'size': '124,336'},
     {'path': b'/nix/store/pbfnvqlf8bgp09gy601554ph83y4qzp5-gcc-9.2.0',
      'size': '143,309,504'},
     {'path': b'/nix/store/nyhj00w339gk2gaj3faz70gjrnbmam8v-binutils-2.31.1',
      'size': '33,502,640'},
     {'path': b'/nix/store/yrrr7hwcmlr11cl61rjmclp9wrrb92iy-expand-response-params',
      'size': '17,368'},
     {'path': b'/nix/store/sh8l6la5mv29girlgswnd23s0vfpcfdn-binutils-wrapper-2.3'
              b'1.1',
      'size': '37,992'},
     {'path': b'/nix/store/i5k2ibiprmks1bddmjm12fgi30maldzf-pcre-8.43',
      'size': '497,632'},
     {'path': b'/nix/store/sjvvyjp67sssnpl0k0g5ysmcm8xscwp4-gnugrep-3.4',
      'size': '802,368'},
     {'path': b'/nix/store/1v0410l20p343l6cvpijz8bi4if2ysh6-gcc-wrapper-9.2.0',
      'size': '41,392'},
     {'path': b'/nix/store/m0cjgyzlz31s85kl92vgcggsdvb9svcj-libffi-3.3-dev',
      'size': '20,296'},
     {'path': b'/nix/store/qfmbizy1jv469c1cjfv2vx5h9mdmqapc-gmp-6.2.0-dev',
      'size': '215,640'},
     {'path': b'/nix/store/yvmfc6lcsljxb8mdpaz63yl1j0z2zzm2-perl-5.30.1',
      'size': '53,237,064'},
     {'path': b'/nix/store/hz3nwwc0k32ygvjn63gw8gm0nf9gprd8-ghc-8.6.5',
      'size': '1,479,053,416'},
     {'path': b'/nix/store/6dva17vynqmcib4zjiwn2wqm3nalwks0-integer-logarithms-1'
              b'.0.3',
      'size': '623,632'},
     {'path': b'/nix/store/akabgy94c61fnazi0qag5jsj8ysc5y0p-primitive-0.6.4.0',
      'size': '9,668,344'},
     {'path': b'/nix/store/m2ba7a3d39g0qqr3xd80wgbli555n9q6-hashable-1.2.7.0',
      'size': '2,462,152'},
     {'path': b'/nix/store/bas2z2zbc24namg1b81kb7cg8x6d6fiw-scientific-0.3.6.2',
      'size': '3,125,400'},
     {'path': b'/nix/store/0plyy7kq8nxkmv9zi4glgfkcmlz255zl-attoparsec-0.13.2.3',
      'size': '16,785,040'},
     {'path': b'/nix/store/amya73lz4zziz1zgzb4fvb5b2mn27g8m-random-1.1-doc',
      'size': '567,288'},
     {'path': b'/nix/store/2n12ini2shm6s7l59ghw98qz198qlnxk-splitmix-0.0.3-doc',
      'size': '439,144'},
     {'path': b'/nix/store/i5l69z2c0fa4rfkcjjz5bh1ygj3gv742-vector-0.12.1.2-doc',
      'size': '17,714,256'},
     {'path': b'/nix/store/2na544033hzy4dv5vdy6g48wfzb2ggy2-vector-0.12.1.2',
      'size': '47,636,440'},
     {'path': b'/nix/store/2yjdlxxhzdi05jcpv8i8dcg8dvg2ms5l-readline-6.3p08',
      'size': '391,888'},
     {'path': b'/nix/store/ra9ccq229ni22zbxcw3spyjzxxriiraa-network-uri-2.6.2.0-'
              b'doc',
      'size': '919,848'},
     {'path': b'/nix/store/3jibbksnd12zj2vkvnm0alp89ax6cfp8-network-uri-2.6.2.0',
      'size': '4,475,984'},
     {'path': b'/nix/store/cbl6ryhcwbmmqcqmn3g05l5vwsqq7lhh-syb-0.7.1-doc',
      'size': '1,077,416'},
     {'path': b'/nix/store/iwdppd7ffrx6sbnrx968g3p8s9siixvq-QuickCheck-2.13.2-doc',
      'size': '5,510,272'},
     {'path': b'/nix/store/8iqwq1m1lc44n23f44rfzvq879crgsd8-unordered-containers'
              b'-0.2.10.0-doc',
      'size': '2,505,120'},
     {'path': b'/nix/store/cwgsw7fmsl32z4wwg4wmb8r4i9cqi7ax-base-compat-0.10.5-doc',
      'size': '3,928,200'},
     {'path': b'/nix/store/dfs4nsfcmvrqb4pfs528mcbx7p6h8rd9-dlist-0.8.0.7-doc',
      'size': '287,408'},
     {'path': b'/nix/store/fmj6pfcrz6gwpd5ikrhv3sv1lvhzdnkr-tagged-0.8.6-doc',
      'size': '585,768'},
     {'path': b'/nix/store/fq7gnr6x16s36yyq3ijzg705frg04dsy-th-abstraction-0.3.1'
              b'.0-doc',
      'size': '1,423,760'},
     {'path': b'/nix/store/qhbh3dj2b9rx7xplp5fz48fpa05rcws1-uuid-types-1.0.3-doc',
      'size': '495,104'},
     {'path': b'/nix/store/cmx2kqns3vy0xlpfwbnxfz4br4a050yv-base-orphans-0.8.2-doc',
      'size': '1,109,168'},
     {'path': b'/nix/store/wj6r2pm4vsbqm17fmcnz3mm8iam9myc8-time-compat-1.9.2.2-'
              b'doc',
      'size': '1,879,624'},
     {'path': b'/nix/store/v0w0r8idgapbna2qjb6g2k2k16qfqz0d-aeson-1.4.6.0-doc',
      'size': '8,699,624'},
     {'path': b'/nix/store/3zsd0wqy8c3x9nvja8bhs8r10y4wl1p1-pandoc-types-1.17.6.'
              b'1-doc',
      'size': '2,551,784'},
     {'path': b'/nix/store/4857x32hdkrrd2iqsn2m5d95xaj1s4p8-network-2.8.0.1-doc',
      'size': '2,117,320'},
     {'path': b'/nix/store/7qn29l7gyvnfc0pvxsmqr7nvkpw0ndn1-tagged-0.8.6',
      'size': '1,883,152'},
     {'path': b'/nix/store/84i7995b3md52k9xvys2jdq7pmyrxckv-unordered-containers'
              b'-0.2.10.0',
      'size': '6,878,528'},
     {'path': b'/nix/store/ankhr2045qag4g0jb14p2z5mjqp7mdpn-base-orphans-0.8.2',
      'size': '1,619,536'},
     {'path': b'/nix/store/cjqcam9fp4bkbz5c2scgpgrywzny8h2k-dlist-0.8.0.7',
      'size': '732,544'},
     {'path': b'/nix/store/d3jdb9fz47z35p05pr3xgyrg7sffp78b-base-compat-0.10.5',
      'size': '2,244,632'},
     {'path': b'/nix/store/k0jpihzyqp475i39haciq86h929lp1ql-random-1.1',
      'size': '3,503,896'},
     {'path': b'/nix/store/i88qnwrc40lskrji9pb0q8f5qpdd7jbi-uuid-types-1.0.3',
      'size': '1,643,272'},
     {'path': b'/nix/store/jl9ns5773w6vx0rqhv1f67ydsww22r27-time-compat-1.9.2.2',
      'size': '4,675,896'},
     {'path': b'/nix/store/pwfwlzn5qa61aravfhw670hjd3cyacfs-th-abstraction-0.3.1.0',
      'size': '5,370,256'},
     {'path': b'/nix/store/bciw51ipp7z9npkpwyj1nkjx6ayk62yl-aeson-1.4.6.0',
      'size': '66,540,376'},
     {'path': b'/nix/store/g8daac71hgx0h735rwnj5n69mswxv4xp-pandoc-2.7.3-data',
      'size': '641,776'},
     {'path': b'/nix/store/r9rz4fiq8z4gppzf7miqkq1cbnw40yz6-splitmix-0.0.3',
      'size': '766,920'},
     {'path': b'/nix/store/hs0mrcymg5alw1jlz46pb5ypgk7yf3js-QuickCheck-2.13.2',
      'size': '20,329,560'},
     {'path': b'/nix/store/pf2bzndm7l357pc3hi5chsavvnn1wbmp-syb-0.7.1',
      'size': '2,904,168'},
     {'path': b'/nix/store/gkllhz4s27p4nqnwyrxc04c6829bsnkn-pandoc-types-1.17.6.1',
      'size': '19,829,464'},
     {'path': b'/nix/store/pywbwq86hy6c592aa1fnzvj8nqvmq90i-lua-5.3.5',
      'size': '1,585,744'},
     {'path': b'/nix/store/r0kkdb3ilqi2blsc77nlkyxvvwwfalh9-HTTP-4000.3.14-doc',
      'size': '3,377,184'},
     {'path': b'/nix/store/r900ixyg8b9i6ygayax9p4rgh79lzbky-network-2.8.0.1',
      'size': '9,063,944'},
     {'path': b'/nix/store/rq51qlkaf3v5g51q19f9dwyfxv86q3qq-HTTP-4000.3.14',
      'size': '11,520,256'},
     {'path': b'/nix/store/z7ln4gszk2nns7qs9k0j6zvw20cv22hw-pandoc-2.7.3',
      'size': '131,976,264'}]
    total: 2,476,810,912
    
    After:
    
    [{'path': b'/nix/store/00d9ds1iqjxpbp3c2rsb0wyl3ypcck4y-pandoc-2.7.3-data',
      'size': '641,776'},
     {'path': b'/nix/store/mxaxvp33wg9sim8qh2kkw041v492bvxj-libunistring-0.9.10',
      'size': '1,634,416'},
     {'path': b'/nix/store/hjng28vbd73qq9iz9j8r397x19aa8fp9-libidn2-2.3.0',
      'size': '222,672'},
     {'path': b'/nix/store/6m2k8kx8h216jlx9dg3lp4m90bz05yck-glibc-2.30',
      'size': '31,082,264'},
     {'path': b'/nix/store/0infa8sv151a1j6zz6lizbpmwv4ksh67-gcc-9.2.0-lib',
      'size': '6,284,904'},
     {'path': b'/nix/store/fv7c5dxd6cq0w2yl21rpsgmwra87h7x5-ncurses-6.1-20190112',
      'size': '3,556,472'},
     {'path': b'/nix/store/2yjdlxxhzdi05jcpv8i8dcg8dvg2ms5l-readline-6.3p08',
      'size': '391,888'},
     {'path': b'/nix/store/6wfnl0kvgz9r1z8wp53ildc2hgsysybl-libffi-3.3',
      'size': '56,728'},
     {'path': b'/nix/store/d38akrx7lljl6pl5gqdxcsmf57k9w08v-gmp-6.2.0',
      'size': '751,936'},
     {'path': b'/nix/store/pywbwq86hy6c592aa1fnzvj8nqvmq90i-lua-5.3.5',
      'size': '1,585,744'},
     {'path': b'/nix/store/qvgf4g9c5h3wzq4xjy566vc0pqgc9fjq-zlib-1.2.11',
      'size': '124,336'},
     {'path': b'/nix/store/gg13d8cj775qbn81sbvjqlazxm14b2jq-pandoc-2.7.3',
      'size': '131,919,072'}]
    total: 178,252,208
    Profpatsch committed Apr 28, 2020
    Copy the full SHA
    6f693a9 View commit details
  6. Copy the full SHA
    d894038 View commit details
  7. Merge pull request #85535 from zowoq/gopackage

    buildGoPackage: use $out instead of $bin
    Mic92 committed Apr 28, 2020
    Copy the full SHA
    20e67f1 View commit details
Showing 371 changed files with 5,265 additions and 4,902 deletions.
12 changes: 0 additions & 12 deletions doc/languages-frameworks/go.xml
Original file line number Diff line number Diff line change
@@ -191,18 +191,6 @@ deis = buildGoPackage rec {
To extract dependency information from a Go package in automated way use <link xlink:href="https://github.com/kamilchm/go2nix">go2nix</link>. It can produce complete derivation and <varname>goDeps</varname> file for Go programs.
</para>

<para>
<varname>buildGoPackage</varname> produces <xref linkend='chap-multiple-output' xrefstyle="select: title" /> where <varname>bin</varname> includes program binaries. You can test build a Go binary as follows:
<screen>
<prompt>$ </prompt>nix-build -A deis.bin
</screen>
or build all outputs with:
<screen>
<prompt>$ </prompt>nix-build -A deis.all
</screen>
<varname>bin</varname> output will be installed by default with <varname>nix-env -i</varname> or <varname>systemPackages</varname>.
</para>

<para>
You may use Go packages installed into the active Nix profiles by adding the following to your ~/.bashrc:
<screen>
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -5064,6 +5064,12 @@
githubId = 3269878;
name = "Miguel Madrid Mencía";
};
mindavi = {
email = "rol3517@gmail.com";
github = "Mindavi";
githubId = 9799623;
name = "Rick van Schijndel";
};
minijackson = {
email = "minijackson@riseup.net";
github = "minijackson";
10 changes: 5 additions & 5 deletions nixos/doc/manual/configuration/xfce.xml
Original file line number Diff line number Diff line change
@@ -16,11 +16,11 @@
effects, some example settings:
<programlisting>
<link linkend="opt-services.picom.enable">services.picom</link> = {
<link linkend="opt-services.picom.enable">enable</link> = true;
<link linkend="opt-services.picom.fade">fade</link> = true;
<link linkend="opt-services.picom.inactiveOpacity">inactiveOpacity</link> = "0.9";
<link linkend="opt-services.picom.shadow">shadow</link> = true;
<link linkend="opt-services.picom.fadeDelta">fadeDelta</link> = 4;
<link linkend="opt-services.picom.enable">enable</link> = true;
<link linkend="opt-services.picom.fade">fade</link> = true;
<link linkend="opt-services.picom.inactiveOpacity">inactiveOpacity</link> = 0.9;
<link linkend="opt-services.picom.shadow">shadow</link> = true;
<link linkend="opt-services.picom.fadeDelta">fadeDelta</link> = 4;
};
</programlisting>
</para>
14 changes: 14 additions & 0 deletions nixos/doc/manual/release-notes/rl-2009.xml
Original file line number Diff line number Diff line change
@@ -317,6 +317,15 @@ php.override {
<manvolnum>5</manvolnum></citerefentry> for details.
</para>
</listitem>
<listitem>
<para>
In the <literal>picom</literal> module, several options that accepted
floating point numbers encoded as strings (for example
<xref linkend="opt-services.picom.activeOpacity"/>) have been changed
to the (relatively) new native <literal>float</literal> type. To migrate
your configuration simply remove the quotes around the numbers.
</para>
</listitem>
</itemizedlist>
</section>

@@ -344,6 +353,11 @@ php.override {
the <literal>notmuch.emacs</literal> output.
</para>
</listitem>
<listitem>
<para>
The default output of <literal>buildGoPackage</literal> is now <literal>$out</literal> instead of <literal>$bin</literal>.
</para>
</listitem>
</itemizedlist>
</section>
</section>
1 change: 1 addition & 0 deletions nixos/modules/hardware/all-firmware.nix
Original file line number Diff line number Diff line change
@@ -51,6 +51,7 @@ in {
rtlwifi_new-firmware
zd1211fw
alsa-firmware
sof-firmware
openelec-dvb-firmware
] ++ optional (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) raspberrypiWirelessFirmware
++ optionals (versionOlder config.boot.kernelPackages.kernel.version "4.13") [
4 changes: 2 additions & 2 deletions nixos/modules/programs/singularity.nix
Original file line number Diff line number Diff line change
@@ -5,8 +5,8 @@ let
cfg = config.programs.singularity;
singularity = pkgs.singularity.overrideAttrs (attrs : {
installPhase = attrs.installPhase + ''
mv $bin/libexec/singularity/bin/starter-suid $bin/libexec/singularity/bin/starter-suid.orig
ln -s /run/wrappers/bin/singularity-suid $bin/libexec/singularity/bin/starter-suid
mv $out/libexec/singularity/bin/starter-suid $out/libexec/singularity/bin/starter-suid.orig
ln -s /run/wrappers/bin/singularity-suid $out/libexec/singularity/bin/starter-suid
'';
});
in {
Original file line number Diff line number Diff line change
@@ -461,7 +461,7 @@ in
moreutils
remarshal
utillinux
cfg.package.bin
cfg.package
] ++ cfg.extraPackages;
reloadIfChanged = true;
serviceConfig = {
4 changes: 4 additions & 0 deletions nixos/modules/services/databases/openldap.nix
Original file line number Diff line number Diff line change
@@ -231,6 +231,10 @@ in

};

meta = {
maintainers = lib.maintainers.mic92;
};


###### implementation

8 changes: 1 addition & 7 deletions nixos/modules/services/databases/postgresql.nix
Original file line number Diff line number Diff line change
@@ -34,13 +34,7 @@ in

services.postgresql = {

enable = mkOption {
type = types.bool;
default = false;
description = ''
Whether to run PostgreSQL.
'';
};
enable = mkEnableOption "PostgreSQL Server";

package = mkOption {
type = types.package;
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/confd.nix
Original file line number Diff line number Diff line change
@@ -75,7 +75,7 @@ in {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
ExecStart = "${cfg.package.bin}/bin/confd";
ExecStart = "${cfg.package}/bin/confd";
};
};

2 changes: 1 addition & 1 deletion nixos/modules/services/misc/etcd.nix
Original file line number Diff line number Diff line change
@@ -178,7 +178,7 @@ in {

serviceConfig = {
Type = "notify";
ExecStart = "${pkgs.etcd.bin}/bin/etcd";
ExecStart = "${pkgs.etcd}/bin/etcd";
User = "etcd";
LimitNOFILE = 40000;
};
16 changes: 8 additions & 8 deletions nixos/modules/services/misc/gitea.nix
Original file line number Diff line number Diff line change
@@ -374,7 +374,7 @@ in
description = "gitea";
after = [ "network.target" ] ++ lib.optional usePostgresql "postgresql.service" ++ lib.optional useMysql "mysql.service";
wantedBy = [ "multi-user.target" ];
path = [ gitea.bin pkgs.gitAndTools.git ];
path = [ gitea pkgs.gitAndTools.git ];

preStart = let
runConfig = "${cfg.stateDir}/custom/conf/app.ini";
@@ -386,11 +386,11 @@ in
cp -f ${configFile} ${runConfig}
if [ ! -e ${secretKey} ]; then
${gitea.bin}/bin/gitea generate secret SECRET_KEY > ${secretKey}
${gitea}/bin/gitea generate secret SECRET_KEY > ${secretKey}
fi
if [ ! -e ${jwtSecret} ]; then
${gitea.bin}/bin/gitea generate secret LFS_JWT_SECRET > ${jwtSecret}
${gitea}/bin/gitea generate secret LFS_JWT_SECRET > ${jwtSecret}
fi
KEY="$(head -n1 ${secretKey})"
@@ -413,7 +413,7 @@ in
HOOKS=$(find ${cfg.repositoryRoot} -mindepth 4 -maxdepth 6 -type f -wholename "*git/hooks/*")
if [ "$HOOKS" ]
then
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${gitea.bin}/bin/gitea,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${gitea}/bin/gitea,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/env,${pkgs.coreutils}/bin/env,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/bash,${pkgs.bash}/bin/bash,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/perl,${pkgs.perl}/bin/perl,g' $HOOKS
@@ -422,7 +422,7 @@ in
# update command option in authorized_keys
if [ -r ${cfg.stateDir}/.ssh/authorized_keys ]
then
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${gitea.bin}/bin/gitea,g' ${cfg.stateDir}/.ssh/authorized_keys
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${gitea}/bin/gitea,g' ${cfg.stateDir}/.ssh/authorized_keys
fi
'';

@@ -431,7 +431,7 @@ in
User = cfg.user;
Group = "gitea";
WorkingDirectory = cfg.stateDir;
ExecStart = "${gitea.bin}/bin/gitea web";
ExecStart = "${gitea}/bin/gitea web";
Restart = "always";

# Filesystem
@@ -492,7 +492,7 @@ in
description = "gitea dump";
after = [ "gitea.service" ];
wantedBy = [ "default.target" ];
path = [ gitea.bin ];
path = [ gitea ];

environment = {
USER = cfg.user;
@@ -503,7 +503,7 @@ in
serviceConfig = {
Type = "oneshot";
User = cfg.user;
ExecStart = "${gitea.bin}/bin/gitea dump";
ExecStart = "${gitea}/bin/gitea dump";
WorkingDirectory = cfg.stateDir;
};
};
6 changes: 3 additions & 3 deletions nixos/modules/services/misc/gogs.nix
Original file line number Diff line number Diff line change
@@ -200,7 +200,7 @@ in
description = "Gogs (Go Git Service)";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.gogs.bin ];
path = [ pkgs.gogs ];

preStart = let
runConfig = "${cfg.stateDir}/custom/conf/app.ini";
@@ -230,7 +230,7 @@ in
HOOKS=$(find ${cfg.repositoryRoot} -mindepth 4 -maxdepth 4 -type f -wholename "*git/hooks/*")
if [ "$HOOKS" ]
then
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gogs,${pkgs.gogs.bin}/bin/gogs,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gogs,${pkgs.gogs}/bin/gogs,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/env,${pkgs.coreutils}/bin/env,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/bash,${pkgs.bash}/bin/bash,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/perl,${pkgs.perl}/bin/perl,g' $HOOKS
@@ -242,7 +242,7 @@ in
User = cfg.user;
Group = cfg.group;
WorkingDirectory = cfg.stateDir;
ExecStart = "${pkgs.gogs.bin}/bin/gogs web";
ExecStart = "${pkgs.gogs}/bin/gogs web";
Restart = "always";
};

2 changes: 1 addition & 1 deletion nixos/modules/services/misc/leaps.nix
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@ in
Restart = "on-failure";
WorkingDirectory = stateDir;
PrivateTmp = true;
ExecStart = "${pkgs.leaps.bin}/bin/leaps -path ${toString cfg.path} -address ${cfg.address}:${toString cfg.port}";
ExecStart = "${pkgs.leaps}/bin/leaps -path ${toString cfg.path} -address ${cfg.address}:${toString cfg.port}";
};
};
};
3 changes: 1 addition & 2 deletions nixos/modules/services/misc/ssm-agent.nix
Original file line number Diff line number Diff line change
@@ -35,12 +35,11 @@ in {

path = [ fake-lsb-release ];
serviceConfig = {
ExecStart = "${cfg.package.bin}/bin/agent";
ExecStart = "${cfg.package}/bin/agent";
KillMode = "process";
Restart = "on-failure";
RestartSec = "15min";
};
};
};
}

2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/bosun.nix
Original file line number Diff line number Diff line change
@@ -148,7 +148,7 @@ in {
User = cfg.user;
Group = cfg.group;
ExecStart = ''
${cfg.package.bin}/bin/bosun -c ${configFile}
${cfg.package}/bin/bosun -c ${configFile}
'';
};
};
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/grafana-reporter.nix
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ in {
"-templates ${cfg.templateDir}"
];
in {
ExecStart = "${pkgs.grafana_reporter.bin}/bin/grafana-reporter ${args}";
ExecStart = "${pkgs.grafana_reporter}/bin/grafana-reporter ${args}";
};
};
};
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/grafana.nix
Original file line number Diff line number Diff line change
@@ -535,7 +535,7 @@ in {
${optionalString cfg.provision.enable ''
export GF_PATHS_PROVISIONING=${provisionConfDir};
''}
exec ${cfg.package.bin}/bin/grafana-server -homepath ${cfg.dataDir}
exec ${cfg.package}/bin/grafana-server -homepath ${cfg.dataDir}
'';
serviceConfig = {
WorkingDirectory = cfg.dataDir;
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ in
in {
serviceConfig = {
ExecStart = ''
${pkgs.prometheus-snmp-exporter.bin}/bin/snmp_exporter \
${pkgs.prometheus-snmp-exporter}/bin/snmp_exporter \
--config.file=${escapeShellArg configFile} \
--log.format=${escapeShellArg cfg.logFormat} \
--log.level=${cfg.logLevel} \
2 changes: 1 addition & 1 deletion nixos/modules/services/monitoring/scollector.nix
Original file line number Diff line number Diff line change
@@ -118,7 +118,7 @@ in {
serviceConfig = {
User = cfg.user;
Group = cfg.group;
ExecStart = "${cfg.package.bin}/bin/scollector -conf=${conf} ${lib.concatStringsSep " " cfg.extraOpts}";
ExecStart = "${cfg.package}/bin/scollector -conf=${conf} ${lib.concatStringsSep " " cfg.extraOpts}";
};
};

8 changes: 4 additions & 4 deletions nixos/modules/services/networking/consul.nix
Original file line number Diff line number Diff line change
@@ -179,15 +179,15 @@ in
(filterAttrs (n: _: hasPrefix "consul.d/" n) config.environment.etc);

serviceConfig = {
ExecStart = "@${cfg.package.bin}/bin/consul consul agent -config-dir /etc/consul.d"
ExecStart = "@${cfg.package}/bin/consul consul agent -config-dir /etc/consul.d"
+ concatMapStrings (n: " -config-file ${n}") configFiles;
ExecReload = "${cfg.package.bin}/bin/consul reload";
ExecReload = "${cfg.package}/bin/consul reload";
PermissionsStartOnly = true;
User = if cfg.dropPrivileges then "consul" else null;
Restart = "on-failure";
TimeoutStartSec = "infinity";
} // (optionalAttrs (cfg.leaveOnStop) {
ExecStop = "${cfg.package.bin}/bin/consul leave";
ExecStop = "${cfg.package}/bin/consul leave";
});

path = with pkgs; [ iproute gnugrep gawk consul ];
@@ -238,7 +238,7 @@ in

serviceConfig = {
ExecStart = ''
${cfg.alerts.package.bin}/bin/consul-alerts start \
${cfg.alerts.package}/bin/consul-alerts start \
--alert-addr=${cfg.alerts.listenAddr} \
--consul-addr=${cfg.alerts.consulAddr} \
${optionalString cfg.alerts.watchChecks "--watch-checks"} \
6 changes: 3 additions & 3 deletions nixos/modules/services/networking/flannel.nix
Original file line number Diff line number Diff line change
@@ -19,8 +19,8 @@ in {
package = mkOption {
description = "Package to use for flannel";
type = types.package;
default = pkgs.flannel.bin;
defaultText = "pkgs.flannel.bin";
default = pkgs.flannel;
defaultText = "pkgs.flannel";
};

publicIp = mkOption {
@@ -167,7 +167,7 @@ in {
touch /run/flannel/docker
'' + optionalString (cfg.storageBackend == "etcd") ''
echo "setting network configuration"
until ${pkgs.etcdctl.bin}/bin/etcdctl set /coreos.com/network/config '${builtins.toJSON networkConfig}'
until ${pkgs.etcdctl}/bin/etcdctl set /coreos.com/network/config '${builtins.toJSON networkConfig}'
do
echo "setting network configuration, retry"
sleep 1
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/skydns.nix
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ in {
SKYDNS_NAMESERVERS = concatStringsSep "," cfg.nameservers;
};
serviceConfig = {
ExecStart = "${cfg.package.bin}/bin/skydns";
ExecStart = "${cfg.package}/bin/skydns";
};
};

4 changes: 2 additions & 2 deletions nixos/modules/services/security/hologram-agent.nix
Original file line number Diff line number Diff line change
@@ -43,12 +43,12 @@ in {
description = "Provide EC2 instance credentials to machines outside of EC2";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
requires = [ "network-link-dummy0.service" "network-addresses-dummy0.service" ];
requires = [ "network-link-dummy0.service" "network-addresses-dummy0.service" ];
preStart = ''
/run/current-system/sw/bin/rm -fv /run/hologram.sock
'';
serviceConfig = {
ExecStart = "${pkgs.hologram.bin}/bin/hologram-agent -debug -conf ${cfgFile} -port ${cfg.httpPort}";
ExecStart = "${pkgs.hologram}/bin/hologram-agent -debug -conf ${cfgFile} -port ${cfg.httpPort}";
};
};

2 changes: 1 addition & 1 deletion nixos/modules/services/security/hologram-server.nix
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@ in {
wantedBy = [ "multi-user.target" ];

serviceConfig = {
ExecStart = "${pkgs.hologram.bin}/bin/hologram-server --debug --conf ${cfgFile}";
ExecStart = "${pkgs.hologram}/bin/hologram-server --debug --conf ${cfgFile}";
};
};
};
Loading