Commit Graph

54 Commits

Author SHA1 Message Date
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
Paul Meyer
2b552aa797 azure-cli-extensions.containerapp: 0.3.53 -> 1.0.0b1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-03 08:15:39 +02:00
Paul Meyer
1359ba23df azure-cli-extensions.baremetal-infrastructure: 2.0.1 -> 3.0.0b1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-03 08:11:08 +02:00
Paul Meyer
3ad1a60a2e azure-cli-extensions.azurelargeinstance: 1.0.0b2 -> 1.0.0b3
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-03 08:11:07 +02:00
Paul Meyer
3dad0ddf62 azure-cli-extensions.amg: 2.1.0 -> 2.2.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-03 08:11:07 +02:00
Paul Meyer
77ce373bae azure-cli-extensions.aks-preview: 7.0.0b6 -> 8.0.0b1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-03 08:11:07 +02:00
Paul Meyer
68d645484e azure-cli-extensions.k8s-runtime: init at 1.0.3
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-03 08:11:02 +02:00
Paul Meyer
5617035557 azure-cli: 2.63.0 -> 2.64.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-09-03 08:08:59 +02:00
superherointj
46ac3ad602
Merge pull request #336288 from katexochen/azure-cli/socks
azure-cli: add missing socks dependency
2024-08-21 09:58:51 -03:00
Paul Meyer
ed12d2a631 azure-cli: add missing socks dependency
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-21 10:24:27 +02:00
Paul Meyer
4487987df7 azure-cli-extensions.managednetworkfabric: 6.2.0 -> 6.4.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-21 07:56:00 +02:00
Paul Meyer
9484898171 azure-cli-extensions.fleet: 1.2.0 -> 1.2.1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-21 07:56:00 +02:00
Paul Meyer
f22aa9845e azure-cli-extensions.dataprotection: 1.5.2 -> 1.5.3
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-21 07:55:59 +02:00
Paul Meyer
ebffb6bae7 azure-cli-extensions.bastion: 1.0.2 -> 1.1.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-21 07:55:59 +02:00
Paul Meyer
6c43bf6068 azure-cli-extensions.azure-firewall: 1.1.0 -> 1.2.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-21 07:55:59 +02:00
Paul Meyer
ba216cfe88 azure-cli-extensions.amg: 1.3.6 -> 2.1.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-21 07:55:59 +02:00
Paul Meyer
edfcf912d3 azure-cli-extensions.aks-preview: 7.0.0b3 -> 7.0.0b6
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-21 07:55:58 +02:00
Paul Meyer
595f30f824 azure-cli: minor improvements
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-21 07:55:40 +02:00
Gordon-BP
8ce923e5c2 azure-cli-extensions.ssh: init at 2.0.5 2024-08-20 17:06:59 +08:00
Paul Meyer
44f802c761 azure-cli-extensions.storage-preview: init at 1.0.0b2
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-19 10:38:28 +02:00
Peder Bergebakken Sundt
7020a1d893 treewide: default.nix -> package.nix in pkgs/by-name
We need to remember to go over all the update scripts once the mass-by-name migration has happened
2024-08-18 18:09:17 +02:00
Paul Meyer
3761217491 azure-cli-extensions.vmware: 6.0.1 -> 7.0.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-06 09:17:44 +02:00
Paul Meyer
90527b2c98 azure-cli-extensions.stack-hci-vm: 1.1.16 -> 1.1.20
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-06 09:17:43 +02:00
Paul Meyer
7c2afac7ad azure-cli-extensions.scvmm: 1.0.0 -> 1.1.1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-06 09:17:43 +02:00
Paul Meyer
e1454b7512 azure-cli-extensions.hdinsightonaks: 1.0.0b2 -> 1.0.0b3
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-06 09:17:43 +02:00
Paul Meyer
d8519bbb79 azure-cli-extensions.connectedmachine: 1.0.0b1 -> 1.0.0b2
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-06 09:17:43 +02:00
Paul Meyer
bea7f35096 azure-cli-extensions.aks-preview: 7.0.0b2 -> 7.0.0b3
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-06 09:17:43 +02:00
Paul Meyer
0a0d962db0 azure-cli-extensions.vm-repair: remove
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-06 09:17:43 +02:00
Paul Meyer
92ceff55c9 azure-cli: 2.62.0 -> 2.63.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-08-06 09:17:43 +02: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
superherointj
be7717e777 azure-cli-extensions.oracle-database: init at 1.0.0b1 2024-07-29 11:22:55 -03:00
superherointj
29a15dd797 azure-cli-extensions.dataprotection: 1.5.1 -> 1.5.2 2024-07-29 10:34:14 -03:00
superherointj
e603eb2768 azure-cli-extensions.azure-firewall: 1.0.1 -> 1.1.0 2024-07-29 10:34:14 -03:00
superherointj
f447d7fc8e azure-cli-extensions.amg: 1.3.5 -> 1.3.6 2024-07-29 10:34:14 -03:00
superherointj
c928625c6d azure-cli-extensions.aks-preview: 6.0.0b1 -> 7.0.0b2 2024-07-29 10:34:13 -03:00
Paul Meyer
3c70975ffc azure-cli-extensions.vm-repair: 1.0.6 -> 1.0.7
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-17 18:14:16 +02:00
Paul Meyer
d272e3e524 azure-cli-extensions.redisenterprise: 0.1.4 -> 1.0.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-17 18:14:16 +02:00
Paul Meyer
638c5aa86c azure-cli-extensions.monitor-control-service: 1.1.0 -> 1.2.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-17 18:14:16 +02:00
Paul Meyer
aec6996d82 azure-cli-extensions.bastion: 1.0.1 -> 1.0.2
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-17 18:14:15 +02:00
Paul Meyer
3cfc7bb505 azure-cli-extensions.aks-preview: 5.0.0b3 -> 6.0.0b1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-17 18:14:15 +02:00
Paul Meyer
34aa63240a azure-cli-extension.informatica: init at 1.0.0b1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-17 18:12:53 +02:00
Paul Meyer
6c35b92894 azure-cli-extension.acat: init at 1.0.0b1
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2024-07-17 18:12:03 +02:00
superherointj
db09ceb5bb azure-cli: add generate-extensions routine
At nixpkgs, generate-extensions routine can be executed as:

  nix run .#azure-cli.passthru.generate-extensions
2024-07-17 09:14:27 -03:00
superherointj
440922e97e azure-cli: remove nested with in meta 2024-07-17 09:14:27 -03:00
superherointj
31cb985505 azure-cli: refresh dependencies list 2024-07-17 09:14:27 -03:00
superherointj
c2596337f1 azure-cli: add meta.downloadPage to azure-cli-core and azure-cli-telemetry 2024-07-17 09:14:27 -03:00
superherointj
d34c37a069 azure-cli: remove unnecessary pins 2024-07-17 09:14:27 -03:00
Paul Meyer
8db4060dd7
Merge pull request #326386 from andreasuvoss/add-azure-cli-extension-application-insights
azure-cli-extensions.application-insights: init at 1.2.1
2024-07-17 11:59:27 +02:00
Andreas Voss
38276988bd azure-cli-extensions.application-insights: init at 1.2.1 2024-07-16 14:03:16 +02:00
Giovanni Bassi
bdc9938354
azure-cli-extensions.containerapp: init at 0.3.53 2024-07-15 13:28:17 -03:00