{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11521","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11521/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11521/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11521/events","html_url":"https://github.com/NixOS/nixpkgs/issues/11521","id":120757177,"number":11521,"title":"nixos-rebuild fails, saying \"GRUB_ENABLE_CRYPTODISK=y\" is missing in grub","user":{"login":"peti","id":28323,"avatar_url":"https://avatars.githubusercontent.com/u/28323?v=3","gravatar_id":"","url":"https://api.github.com/users/peti","html_url":"https://github.com/peti","followers_url":"https://api.github.com/users/peti/followers","following_url":"https://api.github.com/users/peti/following{/other_user}","gists_url":"https://api.github.com/users/peti/gists{/gist_id}","starred_url":"https://api.github.com/users/peti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peti/subscriptions","organizations_url":"https://api.github.com/users/peti/orgs","repos_url":"https://api.github.com/users/peti/repos","events_url":"https://api.github.com/users/peti/events{/privacy}","received_events_url":"https://api.github.com/users/peti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/0.kind:%20bug","name":"0.kind: bug","color":"84b6eb"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/1.severity:%20blocker","name":"1.severity: blocker","color":"e11d21"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/2.status:%20duplicate","name":"2.status: duplicate","color":"e6e6e6"},{"url":"https://api.github.com/repos/NixOS/nixpkgs/labels/6.topic:%20nixos","name":"6.topic: nixos","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-07T11:48:59Z","updated_at":"2015-12-07T17:59:47Z","closed_at":null,"body":"`nixos-rebuild boot` fails on my machine while trying to run grub:\r\n\r\n~~~~~\r\n# nixos-rebuild boot\r\nbuilding Nix...\r\nbuilding the system configuration...\r\nupdating GRUB 2 menu...\r\ninstalling the GRUB 2 boot loader on /dev/disk/by-id/ata-SAMSUNG_MMCQE28G8MUP-0VA_SE936B7450...\r\nInstalling for i386-pc platform.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b883c0] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b883c0] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b883c0] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b883c0] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b883c0] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b883c0] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b883c0] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b883c0] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b883c0] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b8af20] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b8af20] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\nYou have a memory leak (not released memory pool):\r\n [0x1b8af20] dtree\r\nInternal error: Unreleased memory pool(s) found.\r\n/nix/store/53xshnldp06n3cqfjg586lzia9hcak2f-grub-2.x-2015-11-16/sbin/grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/nix/store/53xshnldp06n3cqfjg586lzia9hcak2f-grub-2.x-2015-11-16/etc/default/grub'.\r\n/nix/store/zldbbngl0f8g5iv4rslygxwp0dbg1624-install-grub.pl: installation of GRUB on /dev/disk/by-id/ata-SAMSUNG_MMCQE28G8MUP-0VA_SE936B7450 failed\r\nwarning: error(s) occurred while switching to the new configuration\r\n~~~~~~~\r\n\r\nI'm using `master` at 8a0f2e7025d1682f793f67f9364564851448479e with LUKS encryption enabled for the root disk."},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/162608509","html_url":"https://github.com/NixOS/nixpkgs/issues/11521#issuecomment-162608509","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/11521","id":162608509,"user":{"login":"peti","id":28323,"avatar_url":"https://avatars.githubusercontent.com/u/28323?v=3","gravatar_id":"","url":"https://api.github.com/users/peti","html_url":"https://github.com/peti","followers_url":"https://api.github.com/users/peti/followers","following_url":"https://api.github.com/users/peti/following{/other_user}","gists_url":"https://api.github.com/users/peti/gists{/gist_id}","starred_url":"https://api.github.com/users/peti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peti/subscriptions","organizations_url":"https://api.github.com/users/peti/orgs","repos_url":"https://api.github.com/users/peti/repos","events_url":"https://api.github.com/users/peti/events{/privacy}","received_events_url":"https://api.github.com/users/peti/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T17:59:47Z","updated_at":"2015-12-07T17:59:47Z","body":"Duplicate of https://github.com/NixOS/nixpkgs/issues/11480. Run `mount /boot` to remedy the issue to the extend that `nixos-rebuild boot` can succeed again."}}