Commit Graph

17 Commits

Author SHA1 Message Date
Artturin
63fa53d97c treewide: reformat files which need reformatting after
`treewide: replace stdenv.is with stdenv.hostPlatform.is`
2024-09-25 00:04:39 +03:00
Artturin
e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Manuel Mendez
251fcfba61 gdlv: Update 1.10.0 -> 1.12.0
2024-03-04 / Version 1.12

    Function names in the stacktrace window is shortened by default
    Add next-instruction command
    Make the text in the variables window selectable
    Miscellaneous bug fixes

2023-09-24 / Version 1.11

    Better display of suspended breakpoints
    Add libraries command
    When printing a channel also print a list of goroutines waiting on it
2024-09-03 15:02:50 -04:00
Manuel Mendez
3c841d740f gdlv: Convert to by-name 2024-09-03 15:02:50 -04:00
Ryan Omasta
a2f47ce51c gdm-settings: fix eval 2024-08-24 02:17:34 +02:00
Jan Tojnar
b8f3c78021
Merge pull request #333917 from jtojnar/gnome-top-level
gnome: Move more packages to top-level
2024-08-24 01:43:31 +02:00
seth
ef368289ce
gdm-settings: init at 4.4 2024-08-16 17:25:54 -04:00
Jan Tojnar
a0d15e0d04 gdm: Move from gnome scope to top-level 2024-08-12 00:29:11 +02:00
github-actions[bot]
746071163c
Merge staging-next into staging 2024-08-03 06:01:24 +00:00
adisbladis
e0816431a2 treewide: Pass self when overriding Python
Otherwise references to the Python interpreter inside the set are wrong, as demonstrated by:
``` nix
with import <nixpkgs> { };
let
  python' = python3.override {
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the _non_ overriden requests.

And the same with `self`:
```
with import <nixpkgs> { };
let
  python' = python3.override {
    self = python';
    packageOverrides = final: prev: { requests = prev.requests.overridePythonAttrs(old: { version = "1337";  }); };
  };
in python'.pkgs.python.pkgs.requests
```
which returns the overriden requests.

This can manifest itself as file collisions when constructing environments or as subtly incorrect dependency graphs.
2024-08-03 12:18:56 +12:00
Anderson Torres
9cbf7192e1 gdbm: 1.23 -> 1.24
Why is this triggering infinite recursion wheh hashing is empty?
2024-07-25 22:57:02 -03:00
Anderson Torres
bdbc71bf39 gdbm: nixfmt-rfc-style 2024-07-25 22:56:42 -03:00
Anderson Torres
68b4bf305c gdbm: rework
- finalAttrs
- get rid of ${pname}
- split outputs
- strictDeps
- testVersion
- get rid of nested with
2024-07-25 22:56:16 -03:00
Anderson Torres
9852a4bb24 gdbm: migrate to by-name 2024-07-25 22:53:47 -03:00
Jeffrey Harmon
471f48a215
gdtoolkit_3: 3.3.1 -> 3.5.0 2024-06-07 15:40:59 -04:00
Jeffrey Harmon
c01927fc82
gdtoolkit: rename to gdtoolkit_3 2024-06-07 15:40:58 -04:00
Jeffrey Harmon
64494ffef1
gdtoolkit_4: init at 4.2.2 2024-06-07 15:40:37 -04:00