I'm looking for a function that turns this:
{
module1 = {
users.users = {
pol = {
attr1 = "attr1";
list = [ "a" "b" ];
};
I'm looking for a function that turns this:
{
module1 = {
users.users = {
pol = {
attr1 = "attr1";
list = [ "a" "b" ];
};
❯ 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' |
{ | |
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" ]; | |
[ 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 |
[ 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 |
❯ 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 |
#!/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 |
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: |
(self: super: { | |
openblas = super.openblas.overrideAttrs (oldAttrs: { | |
makeFlags = oldAttrs.makeFlags ++ [ | |
"DEBUG=1" | |
]; | |
}); | |
}) |