jiebi/CodeConvo huggingface dataset:
, ilmbase, gtk3, intltool, lcms2, lensfun, libX11, libexif, libgphoto2, libjpeg , libpng, librsvg, libtiff, openexr, osm-gps-map, pkgconfig, sqlite, libxslt , openjpeg, lua, pugixml, colord, colord-gtk, libwebp, libsecret, gnome3 <ins> , ocl-icd </ins> }: stdenv.mkDerivation rec {
libgphoto2 libjpeg libpng librsvg libtiff openexr sqlite libxslt libsoup graphicsmagick json-glib openjpeg lua pugixml colord colord-gtk libwebp libsecret gnome3.adwaita-icon-theme <del> osm-gps-map </del> <ins> osm-gps-map ocl-icd </ins> ]; cmakeFlags = [ "-DBUILD_USERMANUAL=False" ];
sha256 = "1msp7w3563vb43w70myjmqsdb97kna54dcfa7yvi9l3bvamb92w3"; }; <del> buildInputs = [ cmake ] ++ (if stdenv.isDarwin then with darwin.apple_sdk.frameworks; [ Cocoa OpenGL ] else [libGLU_combined freeglut]); </del> <ins> nativeBuildInputs = [ cmake ]; buildInputs = stdenv.lib.optionals stdenv.isLinux [ libGLU_combined freeglut ] ++ stdenv.lib.optionals stdenv.isDarwin [ Cocoa OpenGL ]; </ins> patches = [ ./gwen-narrowing.patch ];
"-DBUILD_CPU_DEMOS=OFF" "-DINSTALL_EXTRA_LIBS=ON" ] ++ stdenv.lib.optionals stdenv.isDarwin [ <del> "-DMACOSX_DEPLOYMENT_TARGET="10.9"" </del> "-DOPENGL_FOUND=true" <del> "-DOPENGL_LIBRARIES=${darwin.apple_sdk.frameworks.OpenGL}/Library/Frameworks/OpenGL.framework" "-DOPENGL_INCLUDE_DIR=${darwin.apple_sdk.frameworks.OpenGL}/Library/Frameworks/OpenGL.framework" "-DOPENGL_gl_LIBRARY=${darwin.apple_sdk.frameworks.OpenGL}/Library/Frameworks/OpenGL.framework" "-DCOCOA_LIBRARY=${darwin.apple_sdk.frameworks.Cocoa}/Library/Frameworks/Cocoa.framework" </del> <ins> "-DOPENGL_LIBRARIES=${OpenGL}/Library/Frameworks/OpenGL.framework" "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks/OpenGL.framework" "-DOPENGL_gl_LIBRARY=${OpenGL}/Library/Frameworks/OpenGL.framework" "-DCOCOA_LIBRARY=${Cocoa}/Library/Frameworks/Cocoa.framework" "-DBUILD_BULLET2_DEMOS=OFF" "-DBUILD_UNIT_TESTS=OFF" </ins> ]; enableParallelBuilding = true; <del> meta = { </del> <ins> meta = with stdenv.lib; { </ins> description = "A professional free 3D Game Multiphysics Library"; longDescription = '' Bullet 3D Game Multiphysics Library provides state of the art collision detection, soft body and rigid body dynamics. ''; homepage = http://bulletphysics.org; <del> license = stdenv.lib.licenses.zlib; maintainers = with stdenv.lib.maintainers; [ aforemny ]; platforms = with stdenv.lib.platforms; unix; </del> <ins> license = licenses.zlib; maintainers = with maintainers; [ aforemny ]; platforms = platforms.unix; </ins> }; }
sha256 = "004ly9xxjlsbrr2vhxsa1n84z3034gxrzr7z0wl45szd8v1v6qwh"; }; buildInputs = [ CaptureTiny CwdGuard FileCopyRecursiveReduced ]; <ins> propagatedBuildInputs = [ DevelCheckCompiler ]; perlPreHook = "export LD=$CC"; </ins> meta = { description = "A Module::Build class for building XS modules"; license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; }; <del> propagatedBuildInputs = [ DevelCheckCompiler ]; </del> }; ModuleCPANTSAnalyse = buildPerlPackage rec {
sha256 = "1j3048ip691j91rdig6wrlg6i4jdzhszxmz5pi2g7n355rl2w00l"; }; buildInputs = [ DevelPPPort ModuleBuildXSUtil TestException TestFatal TestLeakTrace TestOutput TestRequires TryTiny self.version ]; <ins> perlPreHook = "export LD=$CC"; </ins> NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isi686 "-fno-stack-protector"; hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector"; };
<del> { stdenv, fetchurl, python, cairomm, sparsehash, pycairo, autoreconfHook, pkgconfig, boost, expat, scipy, cgal, gmp, mpfr, gobject-introspection, pygobject3, gtk3, matplotlib, ncurses, buildPythonPackage }: </del> <ins> { stdenv, fetchurl, python, cairomm, sparsehash, pycairo, autoreconfHook , pkgconfig, boost, expat, scipy, cgal, gmp, mpfr , gobject-introspection, pygobject3, gtk3, matplotlib, ncurses , buildPythonPackage , fetchpatch }: </ins> buildPythonPackage rec { pname = "graph-tool";
sha256 = "0w7pd2h8ayr88kjl82c8fdshnk6f3xslc77gy7ma09zkbvf76qnz"; }; <ins> patches = [ # fix build with cgal 4.13 (https://git.skewed.de/count0/graph-tool/issues/509) (fetchpatch { name = "cgal-4.13.patch"; url = "https://git.skewed.de/count0/graph-tool/commit/aa39e4a6b42d43fac30c841d176c75aff92cc01a.patch"; sha256 = "1578inb4jqwq2fhhwscn5z95nzmaxvmvk30nzs5wirr26iznap4m"; }) ]; </ins> configureFlags = [ "--with-python-module-path=$(out)/${python.sitePackages}" "--with-boost-libdir=${boost}/lib"
phases = [ "installPhase" "fixupPhase" ]; installPhase = '' <del> mkdir -p $out/bin cp ${src} $out/bin/kpcli chmod +x $out/bin/kpcli </del> <ins> mkdir -p $out/{bin,share} cp ${src} $out/share/kpcli.pl chmod +x $out/share/kpcli.pl </ins> <del> wrapProgram $out/bin/kpcli --set PERL5LIB  </del> <ins> makeWrapper $out/share/kpcli.pl $out/bin/kpcli --set PERL5LIB  </ins> "${with perlPackages; stdenv.lib.makePerlPath ([ CaptureTiny Clipboard Clone CryptRijndael SortNaturally TermReadKey TermShellUI FileKeePass TermReadLineGnu XMLParser ] ++ stdenv.lib.optional stdenv.isDarwin MacPasteboard)}"
github = "aanderse"; name = "Aaron Andersen"; }; <ins> aaronjanse = { email = "aaron@ajanse.me"; github = "aaronjanse"; name = "Aaron Janse"; keys = [ { longkeyid = "rsa2048/0x651BD4B37D75E234"; # Email only fingerprint = "490F 5009 34E7 20BD 4C53  96C2 651B D4B3 7D75 E234"; } { longkeyid = "rsa4096/0xBE6C92145BFF4A34"; # Git, etc fingerprint = "CED9 6DF4 63D7 B86A 1C4B  1322 BE6C 9214 5BFF 4A34"; } ]; }; </ins> aaronschif = { email = "aaronschif@gmail.com"; github = "aaronschif";
<ins> { stdenv , fetchFromGitHub , fetchurl , python27Packages , substituteAll , gnome3 , gobject-introspection , wrapGAppsHook , gtk3 , webkitgtk , libnotify , keybinder3 , libappindicator , intltool , wmctrl , hicolor-icon-theme , xvfb_run }: python27Packages.buildPythonApplication rec  { pname = "ulauncher"; version = "4.4.0.r1"; # Python 3 support is currently in development # on the dev branch and 5.x.x releases disabled = ! python27Packages.isPy27; src = fetchurl { url = "https://github.com/Ulauncher/Ulauncher/releases/download/${version}/ulauncher_${version}.tar.gz"; sha256 = "12v7qpjhf0842ivsfflsl2zlvhiaw25f9ffv7vhnkvrhrmksim9f"; }; nativeBuildInputs = with python27Packages;  [ distutils_extra intltool wrapGAppsHook ]; buildInputs = [ gnome3.adwaita-icon-theme gobject-introspection hicolor-icon-theme keybinder3 libappindicator libnotify webkitgtk wmctrl ]; propagatedBuildInputs = with python27Packages; [ dbus-python notify pygobject3 pyinotify pysqlite python-Levenshtein pyxdg websocket_client ]; checkInputs = with python27Packages; [ mock pytest_3 pytest-mock pytestpep8 xvfb_run ]; patches = [ ./fix-path.patch ]; postPatch = '' substituteInPlace setup.py --subst-var out ''; # https://github.com/Ulauncher/Ulauncher/issues/390 doCheck = false; preCheck = '' export PYTHONPATH=$PYTHONPATH:$out/${python27Packages.python.sitePackages} ''; # Simple translation of # - https://github.com/Ulauncher/Ulauncher/blob/f5a601bdca75198a6a31b9d84433496b63530e74/test checkPhase = '' runHook preCheck # skip tests in invocation that handle paths that # aren't nix friendly (i think) xvfb-run -s '-screen 0 1024x768x16'  pytest -k 'not TestPath and not test_handle_key_press_event' --pep8 tests runHook postCheck ''; preFixup = '' gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ wmctrl ]}") ''; meta = with stdenv.lib; { description = "A fast application launcher for Linux, written in Python, using GTK"; homepage = https://ulauncher.io/; license = licenses.gpl3; platforms = platforms.linux; maintainers = with maintainers; [ aaronjanse worldofpeace ]; }; } </ins>
<ins> diff --git a/setup.py b/setup.py index 3616104..e9bbfda 100755 --- a/setup.py +++ b/setup.py @@ -112,7 +112,7 @@ class InstallAndUpdateDataDirectory(DistUtilsExtra.auto.install_auto): DistUtilsExtra.auto.install_auto.run(self) target_data = '/' + os.path.relpath(self.install_data, self.root) + '/' -        target_pkgdata = target_data + 'share/ulauncher/' +        target_pkgdata = '@out@/share/ulauncher/' target_scripts = '/' + os.path.relpath(self.install_scripts, self.root) + '/' </ins>
config = mkIf cfg.enable { <del> assertions = lib.singleton { assertion = cfg.driSupport32Bit -> pkgs.stdenv.isx86_64; message = "Option driSupport32Bit only makes sense on a 64-bit system."; }; </del> <ins> assertions = [ { assertion = cfg.driSupport32Bit -> pkgs.stdenv.isx86_64; message = "Option driSupport32Bit only makes sense on a 64-bit system."; } { assertion = cfg.driSupport32Bit -> (config.boot.kernelPackages.kernel.features.ia32Emulation or false); message = "Option driSupport32Bit requires a kernel that supports 32bit emulation"; } ]; </ins> systemd.tmpfiles.rules = [ "L+ /run/opengl-driver - - - - ${package}"
sha256 = "02s775m1531sshwlbvfddk3pz8zjmwkv1sgzggn386ja3gc9vwi2"; }; <del> buildInputs = [ pulseaudio gtkmm3 libcanberra_gtk3 ]; </del> <ins> preFixup = '' wrapProgram "$out/bin/pavucontrol"  --prefix XDG_DATA_DIRS : "$XDG_ICON_DIRS" ''; buildInputs = [ pulseaudio gtkmm3 libcanberra_gtk3 makeWrapper gnome3.gnome_icon_theme ]; </ins> nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ makeWrapper ]; postBuild = '' wrapProgram $out/bin/idris  <del> --run 'export IDRIS_CC=''${IDRIS_CC:-${lib.getBin gcc}/bin/gcc}'  --suffix LIBRARY_PATH : ${lib.makeLibraryPath [ gmp ]} </del> <ins> --run 'export IDRIS_CC=''${IDRIS_CC:-${stdenv.cc}/bin/cc}'  --set NIX_CC_WRAPPER_${stdenv.cc.infixSalt}_TARGET_HOST 1  --prefix NIX_CFLAGS_COMPILE " " "-I${lib.getDev gmp}/include"  --prefix NIX_CFLAGS_LINK " " "-L${lib.getLib gmp}/lib" </ins> ''; }
--replace '#!/usr/bin/env bash' '#!${runtimeShell}' # Patch the mimetype database location which is missing on NixOS. <del> substituteInPlace src/mime/type_unix.go  --replace '/etc/mime.types' '${mailcap}/etc/mime.types' </del> <ins> # but also allow static binaries built with NixOS to run outside nix sed -i 's,"/etc/mime.types,"${mailcap}/etc/mime.types",nt&,' src/mime/type_unix.go </ins> # Disabling the 'os/http/net' tests (they want files not available in # chroot builds)
rm src/net/cgo_unix_test.go '' + optionalString stdenv.isLinux '' <del> sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go </del> <ins> # prepend the nix path to the zoneinfo files but also leave the original value for static binaries # that run outside a nix server sed -i 's,"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/",nt&,' src/time/zoneinfo_unix.go </ins> '' + optionalString stdenv.isAarch32 '' echo '#!${runtimeShell}' > misc/cgo/testplugin/test.bash '' + optionalString stdenv.isDarwin ''
sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go '' + lib.optionalString stdenv.isLinux '' <del> sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go </del> <ins> # prepend the nix path to the zoneinfo files but also leave the original value for static binaries # that run outside a nix server sed -i 's,"/usr/share/zoneinfo/,"${tzdata}/share/zoneinfo/",nt&,' src/time/zoneinfo_unix.go </ins> # Find the loader dynamically LOADER="$(find ${lib.getLib libc}/lib -name ld-linux* | head -n 1)"
#undef _PATH_SENDMAIL #define _PATH_SENDMAIL "${sendmailPath}" <ins> #undef _PATH_VI #define _PATH_VI "${vim}/bin/vim" </ins> #undef _PATH_DEFPATH #define _PATH_DEFPATH "/run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin" __EOT__
if [ -z "$newHash" ]; then nix-build --no-out-link -A "$attr.src" 2>"$attr.fetchlog" >/dev/null || true # FIXME: use nix-build --hash here once https://github.com/NixOS/nix/issues/1172 is fixed <del> newHash=$(egrep -v "killing process|dependencies couldn't be built" "$attr.fetchlog" | tail -n2 | sed "s~output path .* has .* hash ‘(.*)’ when .* was expected|fixed-output derivation produced path '.*' with .* hash '(.*)' instead of the expected hash '.*'~12~" | head -n1) </del> <ins> newHash=$(egrep -v "killing process|dependencies couldn't be built|wanted: " "$attr.fetchlog" | tail -n2 | sed "s~output path .* has .* hash ‘(.*)’ when .* was expected|fixed-output derivation produced path '.*' with .* hash '(.*)' instead of the expected hash '.*'|  got:    .*:(.*)~123~" | head -n1) </ins> fi if [ -z "$newHash" ]; then
config = mkIf cfg.enable { services.geoclue2.enable = true; <del> # so polkit will pick up the rules environment.systemPackages = [ pkgs.localtime ]; users.users = [{ name = "localtimed"; description = "Taskserver user"; }]; </del> <ins> # We use the 'out' output, since localtime has its 'bin' output # first, so that is what we get if we use the derivation bare. # Install the polkit rules. environment.systemPackages = [ pkgs.localtime.out ]; # Install the systemd unit. systemd.packages = [ pkgs.localtime.out ]; </ins> systemd.services.localtime = { <del> description = "localtime service"; </del> wantedBy = [ "multi-user.target" ]; <del> partOf = [ "geoclue.service "]; serviceConfig = { Restart                 = "on-failure"; # TODO: make it work with dbus #DynamicUser             = true; Nice                    = 10; User                    = "localtimed"; PrivateTmp              = "yes"; PrivateDevices          = true; PrivateNetwork          = "yes"; NoNewPrivileges         = "yes"; ProtectSystem           = "strict"; ProtectHome             = true; ExecStart               = "${pkgs.localtime}/bin/localtimed"; }; </del> <ins> serviceConfig.Restart = "on-failure"; </ins> }; }; }
}; goPackagePath = "github.com/Stebalien/localtime"; <del> buildInputs = [ systemd polkit m4 ]; </del> <ins> buildInputs = [ m4 ]; </ins> <del> makeFlags = [ "PREFIX=$(out)" ]; </del> <ins> makeFlags = [ "PREFIX=${placeholder "out"}" "BINDIR=${placeholder "bin"}/bin" ]; </ins> buildPhase = '' cd go/src/${goPackagePath} <del> make localtimed </del> <ins> make $makeFlags </ins> ''; installPhase = '' <del> mkdir -p $bin/bin install -Dm555 localtimed $bin/bin </del> <ins> make install $makeFlags </ins> ''; meta = with stdenv.lib; {
imageJson=$(cat ${baseJson} | jq ". + {"rootfs": {"diff_ids": [], "type": "layers"}}") manifestJson=$(jq -n "[{"RepoTags":["$imageName:$imageTag"]}]") <del> for layerTar in $(cat ./layer-list); do </del> <ins> for layerTar in $(tac ./layer-list); do </ins> layerChecksum=$(sha256sum image/$layerTar | cut -d ' ' -f1) imageJson=$(echo "$imageJson" | jq ".history |= [{"created": "$(jq -r .created ${baseJson})"}] + .") imageJson=$(echo "$imageJson" | jq ".rootfs.diff_ids |= ["sha256:$layerChecksum"] + .")
networks are set, it will default to using a configuration file at <literal>/etc/wpa_supplicant.conf</literal>. You should edit this file yourself to define wireless networks, WPA keys and so on (see <del> wpa_supplicant.conf(5)). </del> <ins> <citerefentry> <refentrytitle>wpa_supplicant.conf</refentrytitle> <manvolnum>5</manvolnum> </citerefentry>). </ins> </para> <para>
''; description = '' Use this option to configure advanced authentication methods like EAP. <del> See wpa_supplicant.conf(5) for example configurations. </del> <ins> See <citerefentry> <refentrytitle>wpa_supplicant.conf</refentrytitle> <manvolnum>5</manvolnum> </citerefentry> for example configurations. </ins> Mutually exclusive with <varname>psk</varname> and <varname>pskRaw</varname>. '';
<del> { mkDerivation, lib, stdenv, fetchurl, cmake, extra-cmake-modules </del> <ins> { mkDerivation, lib, stdenv, makeWrapper, fetchurl, cmake, extra-cmake-modules </ins> , karchive, kconfig, kwidgetsaddons, kcompletion, kcoreaddons , kguiaddons, ki18n, kitemmodels, kitemviews, kwindowsystem , kio, kcrash
sha256 = "0h2rplc76r82b8smk61zci1ijj9xkjmf20pdqa8fc2lz4zicjxh4"; }; <del> nativeBuildInputs = [ cmake extra-cmake-modules python3Packages.sip ]; </del> <ins> nativeBuildInputs = [ cmake extra-cmake-modules python3Packages.sip makeWrapper ]; </ins> buildInputs = [ karchive kconfig kwidgetsaddons kcompletion kcoreaddons kguiaddons
stdenv.mkDerivation rec { name = "file-${version}"; <del> version = "5.35"; </del> <ins> version = "5.36"; </ins> src = fetchurl { urls = [ "ftp://ftp.astron.com/pub/file/${name}.tar.gz" "https://distfiles.macports.org/file/${name}.tar.gz" ]; <del> sha256 = "0ijm1fabm68ykr1zbx0bxnka5jr3n42sj8y5mbkrnxs0fj0mxi1h"; </del> <ins> sha256 = "0ya330cdkvfi2d28h8gvhghj4gnhysmifmryysl0a97xq2884q7v"; </ins> }; nativeBuildInputs = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
sha256 = "134xk7rfj0xki9znryk5qf1nsfa318ahrrsi1k6ia7kipp7i3hb4"; }; <del> buildInputs = [ proot patchelf fakechroot runc simplejson pycurl coreutils nose mock ]; </del> <ins> buildInputs = [ proot patchelf fakechroot runc simplejson pycurl coreutils ]; </ins> postPatch = '' substituteInPlace udocker.py --replace /usr/sbin:/sbin:/usr/bin:/bin $PATH
substituteInPlace unittests/Support/CMakeLists.txt  --replace "add_subdirectory(DynamicLibrary)" "" rm unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp <ins> '' + optionalString stdenv.hostPlatform.isAarch32 '' # skip failing X86 test cases on armv7l rm test/DebugInfo/X86/debug_addr.ll rm test/tools/llvm-dwarfdump/X86/debug_addr.s rm test/tools/llvm-dwarfdump/X86/debug_addr_address_size_mismatch.s rm test/tools/llvm-dwarfdump/X86/debug_addr_dwarf4.s rm test/tools/llvm-dwarfdump/X86/debug_addr_unsupported_version.s rm test/tools/llvm-dwarfdump/X86/debug_addr_version_mismatch.s </ins> '' + '' patchShebangs test/BugPoint/compile-custom.ll.py '';
|---------------------------+--------------------------------------------| | Model                     | Path                                       | |---------------------------+--------------------------------------------| <del> | Acer Aspire 4810T         | ~<nixos-hardware/acer/aspire/4810t>~       | </del> <ins> | [[file:acer/aspire/4810t][Acer Aspire 4810T]]         | ~<nixos-hardware/acer/aspire/4810t>~       | </ins> | Airis N990                | ~<nixos-hardware/airis/n990>~              | <del> | Apple MacBook Pro 10,1    | ~<nixos-hardware/apple/macbook-pro/10-1>~  | </del> <ins> | Apple MacBook Air 4,X     | ~<nixos-hardware/apple/macbook-air/4>~     | | Apple MacBook Air 6,X     | ~<nixos-hardware/apple/macbook-air/6>~     | | [[file:apple/macbook-pro/10-1][Apple MacBook Pro 10,1]]    | ~<nixos-hardware/apple/macbook-pro/10-1>~  | </ins> | Apple MacBook Pro 12,1    | ~<nixos-hardware/apple/macbook-pro/12-1>~  | <del> | Dell XPS 15 9550          | ~<nixos-hardware/dell/xps/15-9550>~        | | Inverse Path USB armory   | ~<nixos-hardware/inversepath/usbarmory>~   | </del> <ins> | [[file:dell/xps/15-9550][Dell XPS 15 9550]]          | ~<nixos-hardware/dell/xps/15-9550>~        | | [[file:inversepath/usbarmory][Inverse Path USB armory]]   | ~<nixos-hardware/inversepath/usbarmory>~   | </ins> | Lenovo IdeaPad Z510       | ~<nixos-hardware/lenovo/ideapad/z510>~     | | Lenovo ThinkPad T410      | ~<nixos-hardware/lenovo/thinkpad/t410>~    | | Lenovo ThinkPad T440p     | ~<nixos-hardware/lenovo/thinkpad/t440p>~   | | Lenovo ThinkPad T460s     | ~<nixos-hardware/lenovo/thinkpad/t460s>~   | | Lenovo ThinkPad X140e     | ~<nixos-hardware/lenovo/thinkpad/x140e>~   | | Lenovo ThinkPad X220      | ~<nixos-hardware/lenovo/thinkpad/x220>~    | <del> | Microsoft Surface Pro 3   | ~<nixos-hardware/microsoft/surface-pro/3>~ | | Raspberry Pi 2            | ~<nixos-hardware/raspberry-pi/2>~          | | Samsung Series 9 NP900X3C | ~<nixos-hardware/samsung/np900x3c>~        | </del> <ins> | Lenovo ThinkPad X250      | ~<nixos-hardware/lenovo/thinkpad/x250>~    | | [[file:microsoft/surface-pro/3][Microsoft Surface Pro 3]]   | ~<nixos-hardware/microsoft/surface-pro/3>~ | | [[file:raspberry-pi/2][Raspberry Pi 2]]            | ~<nixos-hardware/raspberry-pi/2>~          | | [[file:samsung/np900x3c][Samsung Series 9 NP900X3C]] | ~<nixos-hardware/samsung/np900x3c>~        | </ins> | Supermicro A1SRi-2758F    | ~<nixos-hardware/supermicro/a1sri-2758f>~  | | Supermicro X10SLL-F       | ~<nixos-hardware/supermicro/x10sll-f>~     | |---------------------------+--------------------------------------------|
<del> { lib, ... }: </del> <ins> { config, lib, ... }: </ins> { <ins> boot.kernelParams = [ "hid_apple.iso_layout=0" ]; hardware.facetimehd.enable = lib.mkDefault (config.nixpkgs.config.allowUnfree or false); </ins> services.mbpfan.enable = lib.mkDefault true; }
<ins> { config, lib, pkgs, ... }: { imports = [ ../. ../../../common/cpu/intel ]; # Thinkfan is enabled by thinkpad profile. # However it requires to set a different `sensor` for this hardware, since there is no /proc/acpi/ibm/thermal # Regulation also works fine without thinkfan daemon though. services.thinkfan.enable = lib.mkOverride 900 false; # maintainers: Mic92 } </ins>
<ins> ** Status The code in master as of June 2015 should be able to prepare a bootable NixOS for Raspberry PI 2. There are still some drawbacks: NixOS does not provide a /boot/config.txt (the FAT32 partition). Making NixOS work in the Raspberry PI 2 is mainly the result of the recent work of ambro718, Dezgeg and viric (#nixos@irc.freenode.net). ** Download If you want to test, you can flash this 4GB SD image (DOS partition table + fat32 + ext4 rootfs): magnet:?xt=urn:btih:0def3f6acb3bceddb22cb24098f58e40e2853ec2&dn=rpi2-nixos-4b09501f2-img.xz&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80 Then you should be able to nixos-rebuild any configuration.nix changes. The image is the result of a "nixos-install" alone. No root password has been set, and it does not include a nixpkgs checkout or channel. In fact I (viric) created the FS into a NBD, not a real SD, to create this image. </ins>
<del> imported from https://nixos.org/wiki/Raspberry_Pi_2 ** # Status The code in master as of June 2015 should be able to prepare a bootable NixOS for Raspberry PI 2. There are still some drawbacks: NixOS does not provide a /boot/config.txt (the FAT32 partition). Making NixOS work in the Raspberry PI 2 is mainly the result of the recent work of ambro718, Dezgeg and viric (#nixos@irc.freenode.net). # Download If you want to test, you can flash this 4GB SD image (DOS partition table + fat32 + ext4 rootfs): magnet:?xt=urn:btih:0def3f6acb3bceddb22cb24098f58e40e2853ec2&dn=rpi2-nixos-4b09501f2-img.xz&tr=udp%3A%2F%2Fopen.demonii.com%3A1337&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80 Then you should be able to nixos-rebuild any configuration.nix changes. The image is the result of a "nixos-install" alone. No root password has been set, and it does not include a nixpkgs checkout or channel. In fact I (viric) created the FS into a NBD, not a real SD, to create this image. </del>
stdenv.mkDerivation rec { name = "calf-${version}"; <del> version = "0.90.0"; </del> <ins> version = "0.90.2"; </ins> src = fetchurl { url = "https://calf-studio-gear.org/files/${name}.tar.gz"; <del> sha256 = "0dijv2j7vlp76l10s4v8gbav26ibaqk8s24ci74vrc398xy00cib"; </del> <ins> sha256 = "0bn4j1klw2yfxz8clbmasaydifq25rdfsv0n6iisxrzcj1lx7sgh"; </ins> }; <del> patches = [ # Fix memory leak in limiter # https://github.com/flathub/com.github.wwmm.pulseeffects/issues/12 (fetchpatch { url = https://github.com/calf-studio-gear/calf/commit/7afdefc0d0489a6227fd10f15843d81dc82afd62.patch; sha256 = "056662iw6hp4ykwk4jyrzg5yarcn17ni97yc060y5kcnzy29ddg6"; }) ]; </del> <ins> enableParallelBuilding = true; </ins> buildInputs = [ cairo expat fftwSinglePrec fluidsynth glib gtk2 libjack2 ladspaH
} // a // { <del> name = "gimp-plugin-${a.name}"; </del> <ins> name = "gimp-plugin-${a.name or "${a.pname}-${a.version}"}"; </ins> buildInputs = [ gimp gimp.gtk glib ] ++ (a.buildInputs or []); nativeBuildInputs = [ pkgconfig intltool ] ++ (a.nativeBuildInputs or []); }
"; }; <del> resynthesizer2 = pluginDerivation { </del> <ins> resynthesizer2 = pluginDerivation rec { </ins> /* menu: Filters/Map/Resynthesize Filters/Enhance/Smart enlarge Filters/Enhance/Smart sharpen Filters/Enhance/Smart remove selection */ <del> name = "resynthesizer-2.0.1"; </del> <ins> pname = "resynthesizer"; version = "2.0.3"; </ins> buildInputs = with pkgs; [ fftw ]; nativeBuildInputs = with pkgs; [ autoreconfHook ]; <del> makeFlags = "GIMP_LIBDIR=$out/lib/gimp/2.0/"; </del> <ins> makeFlags = [ "GIMP_LIBDIR=${placeholder "out"}/lib/gimp/2.0" ]; </ins> src = fetchFromGitHub { owner = "bootchk"; repo = "resynthesizer"; <del> rev = "2.0.1"; sha256 = "1d214s0jsqxz83l9dd8vhnz3siw9fyw7xdhhir25ra7jiwxc99hd"; </del> <ins> rev = "v${version}"; sha256 = "1jwc8bhhm21xhrgw56nzbma6fwg59gc8anlmyns7jdiw83y0zx3j"; </ins> }; };