Skip to content

add Ubuntu 16.03 .deb builds - #892

Merged
edolstra merged 1 commit into
NixOS:masterfrom
cachix:ubuntu1604
May 2, 2016
Merged

edolstra merged 1 commit into
NixOS:masterfrom
cachix:ubuntu1604

Conversation

@domenkozar

@domenkozar domenkozar commented Apr 29, 2016 •

Copy link
Copy Markdown
Member

Notes:

  • I've observed that i686 builds sometimes fail during make installcheck - couldn't figure out which test is failing
  • Not sure how we can get these .deb generated for latest Nix release

Tested:

/nix/store/r434h5vm4n6k992arr2rkv7f6810rnp1-nix-deb-ubuntu-16.04-xenial-i386-1.12pre1234_abcdef
/nix/store/gj9zrkjfp6s9dzz9y31ng821v89c7mbm-nix-deb-ubuntu-16.04-xenial-amd64-1.12pre1234_abcdef
/nix/store/pkbrwkanplvlv8msgps7pzxb0yb5vyw5-nix-deb-ubuntu-15.10-wily-amd64-1.12pre1234_abcdef
/nix/store/6j0vx9334x4jb8dkh3jgda43phcp21jf-nix-deb-ubuntu-15.04-vivid-amd64-1.12pre1234_abcdef
/nix/store/10fd6pwriqb0zvdc6q0l433vh9v1wrsa-nix-deb-ubuntu-15.04-vivid-i386-1.12pre1234_abcdef
/nix/store/wlgyffb5g5xr7jpikc4p1kfkyckskkpa-nix-deb-ubuntu-15.10-wily-i386-1.12pre1234_abcdef

@domenkozar

Copy link
Copy Markdown
Member Author

@edolstra anything left to do here?

@edolstra
edolstra merged commit 0f4dd44 into NixOS:master May 2, 2016
@domenkozar

Copy link
Copy Markdown
Member Author

@edolstra can we cherry-pick this into 1.11-maintenance 1?

@edolstra

Copy link
Copy Markdown
Member

@domenkozar Sure.

@domenkozar

Copy link
Copy Markdown
Member Author

Done

@grahamc

grahamc commented Jul 6, 2016

Copy link
Copy Markdown
Member

I went looking for 16.04 debs (the title is wrong btw of this PR) and don't find them here: https://nixos.org/releases/nix/latest/ is there a way to get this updated to include 16.04 debs?

@domenkozar

domenkozar commented Jul 7, 2016 •

Copy link
Copy Markdown
Member Author

@domenkozar
domenkozar deleted the ubuntu1604 branch July 7, 2016 15:34
Ma27 pushed a commit to Ma27/nix that referenced this pull request Mar 8, 2026
`pathContentsGood` is used to assess the validity of a path as part of
derivation goals *in repair mode*.

When repair is used with a diverted store, i.e. a store where
fsPath(toRealPath(s)) != fsPath(s) for s a store path, this result in
utterly broken behavior because it will attempt to assess the goodness
of the *logical* store locations, most of the time: /nix/store/...

So, if you are repairing your system using a live NixOS ISO. Your ISO
contains a `/nix/store` (assumed to be good) and you repair your system
which is rooted at /mnt and contains its own /nix/store, that is, a Nix
store at /mnt/nix/store.

Performing the following operation `nix-store --verify --repair --store
/mnt` will assess the contents goodness of the ISO's Nix store.

To avoid this, we assess the path existence of the *physical path*, aka
the result of `store.toRealPath` applied to a *logical* store path
string representation and we verify the hash of the *physical path*.

The error messages are not taken care of in this CL as those are purely
cosmetic and helps the user understand what is going on.

Fixes NixOS#892.

Change-Id: Ib9e0153cb5683edcf37f1963ebf065ceba5e5dfb
Signed-off-by: Raito Bezarius <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants