dream2nix
flake-registry
dream2nix | flake-registry | |
---|---|---|
9 | 3 | |
863 | 88 | |
2.8% | - | |
9.6 | 4.7 | |
3 days ago | 4 months ago | |
Nix | Shell | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dream2nix
- Dream2nix – Automate reproducible packaging for various language ecosystems
-
flox – Harness the Power of Nix
(I'm on the flox team) we'd love to support that and it's something we've talked about! We already support auto-generation for some languages like Rust because they have a lockfile (e.g. Cargo.lock), but it's a bit trickier for a requirements.txt. We hope at some point to contribute to/integrate with upstream efforts like dream2nix which have auto-generation as their goal
-
Minimal approach for python devel environment with flake
How about dream2nix? I like to use the nix way, but there are many third nix ways
- New BFF
-
yarnpnp2nix: More efficient way of packaging NodeJS applications
I'm not 100% sure, but looking at the docs [here](https://nix-community.github.io/dream2nix/subsystems/node.html#granular-pure-default) and the implementation [here](https://github.com/nix-community/dream2nix/tree/main/src/subsystems/nodejs/builders/granular-nodejs) it seems as it builds dependencies separately and symlinks (see `install-deps.py` those into a `node_modules` tree. I don't know much about Yarn's PNP (was doing more backend/devex last few years), but it sounds vaguely similar in that each package should be built once as a separate derivation and then symlinked to a big `node_modules`-as-a-symlink-tree derivation?
-
How do you build NodeJS project in Nix? 2022
How are you building your NodeJS project with Nix right now? Recently I spot a new abstraction, it looks good but I havn't tried it yet: https://github.com/nix-community/dream2nix
-
dream2nix - include a test run? (node project)
dream2nix is a great package, that makes a nix-derivation out of node project with the minimal flake
-
Why aren't systems like NixOS and GNU Guix more popular?
The DavHau/dream2nix project aims to be a generic solution for this issue by splitting the problem into specific stages, each of which can be configured individually (e.g., changing the level of purity)
- Betting on Nix
flake-registry
-
nix in flakes mode but without downloading nixpkgs all the time?
This happens because the default registry hosted at https://github.com/NixOS/flake-registry/ is unpinned (for good reason).
-
Why is Nixpkgs suddenly building everything from source?
access-tokens = allow-dirty = true allow-import-from-derivation = true allow-new-privileges = false allow-symlinked-store = false allow-unsafe-native-code-during-evaluation = false allowed-impure-host-deps = allowed-uris = allowed-users = * auto-optimise-store = false bash-prompt = bash-prompt-suffix = build-hook = /nix/store/jnx8zlprxamvqnx2lg7vbkpl51gr56pb-nix-2.4pre20211006_53e4794/libexec/nix/build-remote build-poll-interval = 5 build-users-group = nixbld builders = builders-use-substitutes = false compress-build-log = true connect-timeout = 0 cores = 0 diff-hook = download-attempts = 5 enforce-determinism = true eval-cache = true experimental-features = nix-command flakes extra-platforms = i686-linux x86_64-v1-linux x86_64-v2-linux x86_64-v3-linux fallback = false filter-syscalls = true flake-registry = https://github.com/NixOS/flake-registry/raw/master/flake-registry.json fsync-metadata = true gc-reserved-space = 8388608 hashed-mirrors = http-connections = 25 http2 = true impersonate-linux-26 = false keep-build-log = true keep-derivations = true keep-env-derivations = false keep-failed = false keep-going = false keep-outputs = false log-lines = 10 max-build-log-size = 0 max-free = 18446744073709551615 max-jobs = 16 max-silent-time = 0 min-free = 0 min-free-check-interval = 5 nar-buffer-size = 33554432 narinfo-cache-negative-ttl = 3600 narinfo-cache-positive-ttl = 2592000 netrc-file = /etc/nix/netrc nix-path = /home/matt/.nix-defexpr/channels nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos nixos-config=/etc/nixos/configuration.nix /nix/var/nix/profiles/per-user/root/channels plugin-files = post-build-hook = pre-build-hook = preallocate-contents = false print-missing = true pure-eval = true repeat = 0 require-sigs = true restrict-eval = false run-diff-hook = false sandbox = true sandbox-build-dir = /build sandbox-dev-shm-size = 50% sandbox-fallback = false sandbox-paths = /bin/sh=/nix/store/5p4jga61v4mg9pdrglj2hj76y5rbz02k-busybox-static-x86_64-unknown-linux-musl-1.32.1/bin/busybox secret-key-files = show-trace = false stalled-download-timeout = 300 store = auto substitute = true substituters = https://cache.nixos.org/ sync-before-registering = false system = x86_64-linux system-features = benchmark big-parallel kvm nixos-test tarball-ttl = 3600 timeout = 0 trace-function-calls = false trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= trusted-substituters = trusted-users = root use-case-hack = false use-registries = true use-sqlite-wal = true user-agent-suffix = warn-dirty = true
-
Why aren't systems like NixOS and GNU Guix more popular?
Nix just seems to have a lot of issues with centralized decision making and planning, which results in some fairly insane decisions and a general lack of any direction in the entire project. As one odd example, Dolstra's personal/work projects are in the very small list of flakes in the global registry, which is just not ok.
What are some alternatives?
nix-portable - Nix - Static, Permissionless, Installation-free, Pre-configured
nix-npm-buildpackage - Build nix packages that use npm/yarn
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
nixpkgs - Nix Packages collection & NixOS
nixcfg - My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.
system - My NixOS configuration
dolphin - Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
crane - A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
capacitor
runix - A type-safe Rust interface to the Nix CLI
yarnpnp2nix - A performance focused and space efficient way of packaging NodeJS applications with Nix