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-build -A python312Packages.pyorc -v | |
evaluating file '<nix/derivation-internal.nix>' | |
evaluating file '/home/pol/Code/NixOS/nixpkgs/lib/minver.nix' | |
evaluating file '/home/pol/Code/NixOS/nixpkgs/pkgs/top-level/impure.nix' | |
evaluating file '/home/pol/Code/NixOS/nixpkgs/pkgs/top-level/default.nix' | |
evaluating file '/home/pol/Code/NixOS/nixpkgs/lib/default.nix' | |
evaluating file '/home/pol/Code/NixOS/nixpkgs/lib/trivial.nix' | |
evaluating file '/home/pol/Code/NixOS/nixpkgs/lib/lists.nix' | |
evaluating file '/home/pol/Code/NixOS/nixpkgs/pkgs/stdenv/booter.nix' | |
evaluating file '/home/pol/Code/NixOS/nixpkgs/pkgs/stdenv/default.nix' |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
flake-parts.url = "github:hercules-ci/flake-parts"; | |
}; | |
outputs = inputs@{ ... }: | |
inputs.flake-parts.lib.mkFlake { inherit inputs; } { | |
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ]; | |
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
[ 53%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomParsing/Internals/DicomImageDecoder.cpp.o | |
[ 54%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomAssociation.cpp.o | |
[ 54%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomAssociationParameters.cpp.o | |
[ 55%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomControlUserConnection.cpp.o | |
[ 55%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomServer.cpp.o | |
[ 55%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/DicomStoreUserConnection.cpp.o | |
[ 56%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomNetworking/Internals/CommandDispatcher.cpp.o | |
[ 56%] Building CXX object CMakeFiles/CoreLibrary.dir/build/sourc |
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
[ 59%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomParsing/IDicomTranscoder.cpp.o | |
/build/source/OrthancFramework/Sources/DicomNetworking/Internals/DicomTls.cpp:51:12: warning: undefining "__FILE__" [] | |
51 | # undef __FILE__ | |
| ^~~~~~~~ | |
[ 59%] Building CXX object CMakeFiles/CoreLibrary.dir/build/source/OrthancFramework/Sources/DicomParsing/MemoryBufferTranscoder.cpp.o | |
[ 60%] Building CXX object CMakeFiles/CoreLibrary.dir/AUTOGENERATED/OrthancServerResources.cpp.o | |
[ 61%] Linking CXX shared library libMultitenantDicom.so | |
/nix/store/dh0m67pv8snfcx1ic18jzp0x4cb10zhc-binutils-2.43.1/bin/ld: /nix/store/k01fyygqcdzhq5l0hcirmzr1sqqs6zy1-dcmtk-3.6.9/lib/libdcmdata.a(dcpixseq.cc.o): in function `DcmPixelSequence::writeXML(std::ostream&, unsigned long)': | |
(.text+0x1ca4): undefined reference to `OFUUID::OFUUID()' | |
/nix/store/dh0m67pv8snfcx1ic18jzp0x4cb10zhc-binutils-2.43.1/bin/ld: (.text+0x1cc8): undefined reference to `OFUUID::print(std::ostream&, OFUUID::E |
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 log /nix/store/88cviwrcpa26lkwmslcmvyirg5gjfgsg-orthanc-1.12.6.drv | |
Running phase: unpackPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking source archive /nix/store/dlzb0bnrk89j55vpfi2nw7fr9ygjy6g4-source | |
source root is source/OrthancServer | |
Running phase: patchPhase | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: configurePhase |
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/env bash | |
# Dependencies: | |
# | |
# 1. Create a nix shell with: `nix shell nixpkgs#phpPackages.composer nixpkgs#gitMinimal nixpkgs#diffoscopeMinimal` | |
# 2. Run this script | |
composer --version | |
if [[ ! -d "phpdocumentor" ]]; then |
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 typing import Callable, Generic, TypeVar, final | |
A = TypeVar("A", covariant=True) | |
B = TypeVar("B", covariant=True) | |
C = TypeVar("C", covariant=True) | |
@final | |
class Either(Generic[A, B]): | |
class Left: |
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
(self: super: { | |
openblas = super.openblas.overrideAttrs (oldAttrs: { | |
makeFlags = oldAttrs.makeFlags ++ [ | |
"DEBUG=1" | |
]; | |
}); | |
}) |
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
Show hidden characters
{ | |
"image": "mcr.microsoft.com/devcontainers/base:alpine", | |
"features": { | |
"ghcr.io/devcontainers/features/nix:1": { | |
"extraNixConfig": "experimental-features = nix-command flakes" | |
} | |
}, | |
"onCreateCommand": "nix run home-manager/master -- init --switch && rm -rf ~/.config/git/config && nix shell nixpkgs#git -c nix run home-manager/master -- switch --flake git+https://code.europa.eu/ecphp/devs-profile#light --impure", | |
"customizations": { | |
"vscode": { |
NewerOlder