This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ nix-review pr 395740 | |
-> Attempting to fetch eval results from GitHub actions | |
-> Successfully fetched rebuilds: no local evaluation needed | |
$ git -c fetch.prune=false fetch --no-tags --force https://github.com/NixOS/nixpkgs master:refs/nixpkgs-review/0 pull/395740/merge:refs/nixpkgs-review/1 | |
remote: Enumerating objects: 1079, done. | |
remote: Counting objects: 100% (630/630), done. | |
remote: Compressing objects: 100% (123/123), done. | |
remote: Total 1079 (delta 592), reused 507 (delta 507), pack-reused 449 (from 2) | |
Empfange Objekte: 100% (1079/1079), 1.72 MiB | 9.76 MiB/s, fertig. | |
Löse Unterschiede auf: 100% (717/717), abgeschlossen mit 244 lokalen Objekten. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
system = "aarch64-darwin"; | |
in | |
{ | |
foo.foo = "foo"; | |
foo.bar = "bar"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/docs/common-patterns.md b/docs/common-patterns.md | |
index b01a5548..b83a6605 100644 | |
--- a/docs/common-patterns.md | |
+++ b/docs/common-patterns.md | |
@@ -141,3 +141,34 @@ in { | |
]; | |
} | |
``` | |
+ | |
+If you want to also compile dependencies for x86, you can add dependencies to `packages`: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": { | |
"devenv": { | |
"locked": { | |
"dir": "src/modules", | |
"lastModified": 1732179756, | |
"owner": "cachix", | |
"repo": "devenv", | |
"rev": "24f0aac5d4798899a0a739ea2c13396850fad2a8", | |
"type": "github" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
let | |
rosettaPkgs = | |
if pkgs.stdenv.isDarwin && pkgs.stdenv.isAarch64 | |
then pkgs.pkgsx86_64Darwin | |
else pkgs; | |
in | |
pkgs.mkShell { | |
buildInputs = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run with: | |
# docker build --progress plain --no-cache-filter 'reproduction' --file Dockerfile.reproduction . | |
FROM ubuntu:24.04 AS base | |
# Install Zope/ZEO Dependencies | |
RUN apt-get update | |
RUN apt-get install -y ca-certificates | |
RUN update-ca-certificates | |
RUN apt-get -y upgrade |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.12 | |
# As per https://docs.astral.sh/uv/guides/integration/docker/#installing-uv | |
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv | |
ARG USER_NAME=app | |
ARG GROUP_NAME=app | |
ARG UID=10001 | |
ARG PORT=8003 | |
# explicitly set user/group IDs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/php | |
<?php | |
/* | |
* Decrypt symmetric encrypted passwords of plesk stored in "psa" database in table "accounts" | |
* Script has to be run on the plesk server locally | |
* | |
* /usr/local/sbin/decrypt-sym | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.6 | |
ARG USER_NAME=auth | |
ARG GROUP_NAME=auth | |
ARG PORT=8005 | |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --yes postgresql | |
# explicitly set user/group IDs | |
RUN set -eux; \ |
NewerOlder