Comments (3)
Injecting that type of metadata into the output means that it will be rebuilt on every nixpkgs commit, even if the result doesn't change. The output is quite large so it's probably desirable to avoid unnecessary churn.
I think a better approach would be to keep a cache of commit IDs to derivation hashes outside of nix
from nixos-generators.
Injecting that type of metadata into the output means that it will be rebuilt on every nixpkgs commit, even if the result doesn't change. The output is quite large so it's probably desirable to avoid unnecessary churn.
OK, yes. So is that a problem on the official image too?
I think a better approach would be to keep a cache of commit IDs to derivation hashes outside of nix
Would you implement that into nixos-generators or should i just copy and rename the file after build?
from nixos-generators.
I could be wrong but I think that NixOS reduces the churn by only pushing the image once in a while instead of at each channel release.
It would be best to find a generic solution. It's the same issue with the dockerTools.buildImage outputs as well. But having one built in nixos-generators is also acceptable.
from nixos-generators.
Related Issues (20)
- Permission denied when creating an rpi image HOT 4
- `nixos-rebuild` on `proxmox-lxc` container fails with `busctl` error, and causes other configuration change from base image HOT 4
- confusing readme HOT 17
- kexec-bundle doesn't run HOT 4
- how to add /var/ state files to install-iso image? HOT 1
- channel:nixos-24.05 -> does not work with digitalocean HOT 2
- Merge nixos-generators with nixpkgs HOT 1
- What's the difference between `proxmox-lxc` and `lxc`? HOT 1
- amazon/EC2 AMI - ClientError: Unable to find an etc directory with fstab. HOT 1
- Docker not running after creating LXC in Proxmox HOT 3
- Integration with flake-parts seems to cause an infinite recursion HOT 4
- Default VM configuration login fails HOT 1
- awk command not found
- nix build results in "failed to create symbolic link" HOT 6
- Include secrets in image HOT 2
- Proxmox VMA can not be deployed HOT 1
- The FQDN is required but cannot be determined. Please make sure that HOT 2
- qcow-efi backend ignores `diskSize` HOT 1
- diskSize expects string
- `fileExtension` is wrong when setting `sdImage.compressImage = false`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixos-generators.