Skip to content

Instantly share code, notes, and snippets.

@dhess
Created October 15, 2021 22:13
Show Gist options
  • Save dhess/e1ed3b0d08f422ebd66113d616a21f47 to your computer and use it in GitHub Desktop.
Save dhess/e1ed3b0d08f422ebd66113d616a21f47 to your computer and use it in GitHub Desktop.
2021-10-15T22:10:46.6792784Z Found online and idle self-hosted runner in the current repository that matches the required labels: 'self-hosted , linux , ec2'
2021-10-15T22:10:46.6998035Z Waiting for the runner to pick up this job...
2021-10-15T22:10:47.2463465Z Job is about to start running on the runner: i-006fc9d44981caaef (repository)
2021-10-15T22:10:54.6345525Z Current runner version: '2.283.3'
2021-10-15T22:10:54.6350829Z Runner name: 'i-006fc9d44981caaef'
2021-10-15T22:10:54.6351755Z Runner group name: 'Default'
2021-10-15T22:10:54.6353299Z Machine name: 'ip-10-0-6-156'
2021-10-15T22:10:54.6358005Z ##[group]GITHUB_TOKEN Permissions
2021-10-15T22:10:54.6359612Z Actions: write
2021-10-15T22:10:54.6360304Z Checks: write
2021-10-15T22:10:54.6360947Z Contents: write
2021-10-15T22:10:54.6362181Z Deployments: write
2021-10-15T22:10:54.6362965Z Discussions: write
2021-10-15T22:10:54.6363622Z Issues: write
2021-10-15T22:10:54.6364277Z Metadata: read
2021-10-15T22:10:54.6364929Z Packages: write
2021-10-15T22:10:54.6365631Z Pages: write
2021-10-15T22:10:54.6366317Z PullRequests: write
2021-10-15T22:10:54.6367140Z RepositoryProjects: write
2021-10-15T22:10:54.6367980Z SecurityEvents: write
2021-10-15T22:10:54.6368683Z Statuses: write
2021-10-15T22:10:54.6369546Z ##[endgroup]
2021-10-15T22:10:54.6373248Z Prepare workflow directory
2021-10-15T22:10:54.7204952Z Prepare all required actions
2021-10-15T22:10:54.7217830Z Getting action download info
2021-10-15T22:10:55.0196724Z Download action repository 'actions/checkout@v2.3.4' (SHA:5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)
2021-10-15T22:10:57.6620940Z Download action repository 'cachix/install-nix-action@712fbc2bf94f397a90c5cf7ef2e4e5f159fbebab' (SHA:712fbc2bf94f397a90c5cf7ef2e4e5f159fbebab)
2021-10-15T22:10:58.4344606Z ##[group]Run actions/checkout@v2.3.4
2021-10-15T22:10:58.4345500Z with:
2021-10-15T22:10:58.4346092Z fetch-depth: 0
2021-10-15T22:10:58.4346814Z repository: hackworthltd/scratchpad
2021-10-15T22:10:58.4348061Z token: ***
2021-10-15T22:10:58.4348640Z ssh-strict: true
2021-10-15T22:10:58.4349333Z persist-credentials: true
2021-10-15T22:10:58.4350038Z clean: true
2021-10-15T22:10:58.4350545Z lfs: false
2021-10-15T22:10:58.4351112Z submodules: false
2021-10-15T22:10:58.4351693Z ##[endgroup]
2021-10-15T22:10:58.5676093Z Syncing repository: hackworthltd/scratchpad
2021-10-15T22:10:58.5678574Z ##[group]Getting Git version info
2021-10-15T22:10:58.5680569Z Working directory is '/home/ec2-user/actions-runner/_work/scratchpad/scratchpad'
2021-10-15T22:10:58.5711373Z [command]/usr/bin/git version
2021-10-15T22:10:58.5753311Z git version 2.32.0
2021-10-15T22:10:58.5783762Z ##[endgroup]
2021-10-15T22:10:58.5791850Z [command]/usr/bin/git config --local --get remote.origin.url
2021-10-15T22:10:58.5813163Z https://github.com/hackworthltd/scratchpad
2021-10-15T22:10:58.5827971Z ##[group]Removing previously created refs, to avoid conflicts
2021-10-15T22:10:58.5832497Z [command]/usr/bin/git rev-parse --symbolic-full-name --verify --quiet HEAD
2021-10-15T22:10:58.5854547Z refs/heads/dhess/fix-install-nix-action
2021-10-15T22:10:58.5863824Z [command]/usr/bin/git checkout --detach
2021-10-15T22:10:58.5896713Z HEAD is now at efcb780 Test new install-nix-action.
2021-10-15T22:10:58.5906049Z [command]/usr/bin/git rev-parse --symbolic-full-name --branches
2021-10-15T22:10:58.5926976Z refs/heads/dhess/fix-install-nix-action
2021-10-15T22:10:58.5936125Z [command]/usr/bin/git branch --delete --force dhess/fix-install-nix-action
2021-10-15T22:10:58.5963096Z Deleted branch dhess/fix-install-nix-action (was efcb780).
2021-10-15T22:10:58.5974999Z [command]/usr/bin/git rev-parse --symbolic-full-name --remotes=origin
2021-10-15T22:10:58.6035994Z refs/remotes/origin/chore/update-nix-dependencies
2021-10-15T22:10:58.6039000Z refs/remotes/origin/dhess/fix-install-nix-action
2021-10-15T22:10:58.6040909Z refs/remotes/origin/main
2021-10-15T22:10:58.6043798Z refs/remotes/origin/staging
2021-10-15T22:10:58.6045515Z refs/remotes/origin/trying
2021-10-15T22:10:58.6058548Z ##[endgroup]
2021-10-15T22:10:58.6061808Z ##[group]Cleaning the repository
2021-10-15T22:10:58.6063758Z [command]/usr/bin/git clean -ffdx
2021-10-15T22:10:58.6091611Z [command]/usr/bin/git reset --hard HEAD
2021-10-15T22:10:58.6117791Z HEAD is now at efcb780 Test new install-nix-action.
2021-10-15T22:10:58.6125931Z ##[endgroup]
2021-10-15T22:10:58.6131622Z ##[group]Disabling automatic garbage collection
2021-10-15T22:10:58.6134172Z [command]/usr/bin/git config --local gc.auto 0
2021-10-15T22:10:58.6157916Z ##[endgroup]
2021-10-15T22:10:58.6168577Z ##[group]Setting up auth
2021-10-15T22:10:58.6175958Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-10-15T22:10:58.6233774Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-10-15T22:10:58.6495873Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-10-15T22:10:58.6523225Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-10-15T22:10:58.6789101Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2021-10-15T22:10:58.6843049Z ##[endgroup]
2021-10-15T22:10:58.6845193Z ##[group]Fetching the repository
2021-10-15T22:10:58.6861857Z [command]/usr/bin/git -c protocol.version=2 fetch --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/tags/*:refs/tags/*
2021-10-15T22:10:59.5140489Z remote: Enumerating objects: 9, done.
2021-10-15T22:10:59.5145000Z remote: Counting objects: 11% (1/9)
2021-10-15T22:10:59.5147607Z remote: Counting objects: 22% (2/9)
2021-10-15T22:10:59.5166275Z remote: Counting objects: 33% (3/9)
2021-10-15T22:10:59.5170957Z remote: Counting objects: 44% (4/9)
2021-10-15T22:10:59.5173563Z remote: Counting objects: 55% (5/9)
2021-10-15T22:10:59.5175762Z remote: Counting objects: 66% (6/9)
2021-10-15T22:10:59.5177838Z remote: Counting objects: 77% (7/9)
2021-10-15T22:10:59.5179906Z remote: Counting objects: 88% (8/9)
2021-10-15T22:10:59.5183804Z remote: Counting objects: 100% (9/9)
2021-10-15T22:10:59.5186750Z remote: Counting objects: 100% (9/9), done.
2021-10-15T22:10:59.5189725Z remote: Compressing objects: 33% (1/3)
2021-10-15T22:10:59.5192415Z remote: Compressing objects: 66% (2/3)
2021-10-15T22:10:59.5195015Z remote: Compressing objects: 100% (3/3)
2021-10-15T22:10:59.5197597Z remote: Compressing objects: 100% (3/3), done.
2021-10-15T22:10:59.5225754Z remote: Total 5 (delta 2), reused 5 (delta 2), pack-reused 0
2021-10-15T22:10:59.5271670Z From https://github.com/hackworthltd/scratchpad
2021-10-15T22:10:59.5568380Z + efcb780...37def66 dhess/fix-install-nix-action -> origin/dhess/fix-install-nix-action (forced update)
2021-10-15T22:10:59.5590988Z [command]/usr/bin/git branch --list --remote origin/dhess/fix-install-nix-action
2021-10-15T22:10:59.5592883Z origin/dhess/fix-install-nix-action
2021-10-15T22:10:59.5594907Z [command]/usr/bin/git rev-parse refs/remotes/origin/dhess/fix-install-nix-action
2021-10-15T22:10:59.5596567Z 37def66f2fb433f7ca7ad624da85c732660ce610
2021-10-15T22:10:59.5599467Z ##[endgroup]
2021-10-15T22:10:59.5601356Z ##[group]Determining the checkout info
2021-10-15T22:10:59.5603486Z ##[endgroup]
2021-10-15T22:10:59.5605265Z ##[group]Checking out the ref
2021-10-15T22:10:59.5607437Z [command]/usr/bin/git checkout --progress --force -B dhess/fix-install-nix-action refs/remotes/origin/dhess/fix-install-nix-action
2021-10-15T22:10:59.5609379Z Warning: you are leaving 1 commit behind, not connected to
2021-10-15T22:10:59.5610610Z any of your branches:
2021-10-15T22:10:59.5611312Z
2021-10-15T22:10:59.5612791Z efcb780 Test new install-nix-action.
2021-10-15T22:10:59.5613664Z
2021-10-15T22:10:59.5615026Z If you want to keep it by creating a new branch, this may be a good time
2021-10-15T22:10:59.5616197Z to do so with:
2021-10-15T22:10:59.5616879Z
2021-10-15T22:10:59.5618324Z git branch <new-branch-name> efcb780
2021-10-15T22:10:59.5619179Z
2021-10-15T22:10:59.5620776Z Switched to a new branch 'dhess/fix-install-nix-action'
2021-10-15T22:10:59.5623334Z Branch 'dhess/fix-install-nix-action' set up to track remote branch 'dhess/fix-install-nix-action' from 'origin'.
2021-10-15T22:10:59.5625649Z ##[endgroup]
2021-10-15T22:10:59.5626938Z [command]/usr/bin/git log -1 --format='%H'
2021-10-15T22:10:59.5628631Z '37def66f2fb433f7ca7ad624da85c732660ce610'
2021-10-15T22:10:59.5716704Z ##[group]Run sudo rm -rf /etc/bashrc.backup-before-nix
2021-10-15T22:10:59.5718077Z sudo rm -rf /etc/bashrc.backup-before-nix
2021-10-15T22:10:59.5719203Z sudo rm -rf /etc/profile.d/nix.sh.backup-before-nix
2021-10-15T22:10:59.5720364Z sudo rm -rf /etc/zshenv.backup-before-nix
2021-10-15T22:10:59.5722354Z sudo rm -rf /etc/bash.bashrc.backup-before-nix
2021-10-15T22:10:59.5743812Z shell: /usr/bin/bash -e {0}
2021-10-15T22:10:59.5744416Z ##[endgroup]
2021-10-15T22:10:59.6927700Z ##[group]Run cachix/install-nix-action@712fbc2bf94f397a90c5cf7ef2e4e5f159fbebab
2021-10-15T22:10:59.6928820Z with:
2021-10-15T22:10:59.6930352Z install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
2021-10-15T22:10:59.6932786Z install_options: --tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve
2021-10-15T22:10:59.6937672Z extra_nix_config: experimental-features = nix-command flakes ca-references
substituters = https://cache.nixos.org?priority=10 s3://hackworth-nix-cache?region=eu-west-1&priority=20 https://hydra.iohk.io?priority=30
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.hackworth-corp.com-1:uLc3Th8lJtfvFAFLqdzRZWEwIk98gAitd5XrDr3Q8SY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
2021-10-15T22:10:59.6941714Z ##[endgroup]
2021-10-15T22:11:00.4524255Z % Total % Received % Xferd Average Speed Time Time Time Current
2021-10-15T22:11:00.4529261Z installer options: --tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve --no-channel-add --darwin-use-unencrypted-nix-store-volume --nix-extra-conf-file /tmp/nix.conf --daemon --daemon-user-count 4
2021-10-15T22:11:00.4574012Z Dload Upload Total Spent Left Speed
2021-10-15T22:11:00.4574875Z
2021-10-15T22:11:00.4576409Z 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2021-10-15T22:11:00.4577921Z 100 3286 0 3286 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k
2021-10-15T22:11:00.4579278Z % Total % Received % Xferd Average Speed Time Time Time Current
2021-10-15T22:11:00.4580732Z Dload Upload Total Spent Left Speed
2021-10-15T22:11:00.4581525Z
2021-10-15T22:11:00.4583056Z 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
2021-10-15T22:11:00.4584404Z 100 27.1M 0 27.1M 0 0 258M 0 --:--:-- --:--:-- --:--:-- 258M
2021-10-15T22:11:00.4588721Z downloading Nix 2.4pre19700101_323e545 binary tarball for x86_64-linux from 'https://nixos-nix-install-tests.cachix.org/serve/8d9layafw9rw0rz35mv11smnmb6rm428/nix-2.4pre19700101_323e545-x86_64-linux.tar.xz' to '/tmp/nix-binary-tarball-unpack.4RfXsy7Db4'...
2021-10-15T22:11:03.2501729Z Note: a multi-user installation is possible. See https://nixos.org/nix/manual/#sect-multi-user-installation
2021-10-15T22:11:03.2526365Z Warning: the flag --darwin-use-unencrypted-nix-store-volume
2021-10-15T22:11:03.2529421Z is no longer needed and will be removed in the future.
2021-10-15T22:11:03.2531250Z
2021-10-15T22:11:03.2543397Z Switching to the Multi-user Installer
2021-10-15T22:11:03.2635769Z Welcome to the Multi-User Nix Installation
2021-10-15T22:11:03.2651856Z 
2021-10-15T22:11:03.2653160Z This installation tool will set up your computer with the Nix package
2021-10-15T22:11:03.2655142Z manager. This will happen in a few stages:
2021-10-15T22:11:03.2655992Z
2021-10-15T22:11:03.2657106Z 1. Make sure your computer doesn't already have Nix. If it does, I
2021-10-15T22:11:03.2658140Z will show you instructions on how to clean up your old install.
2021-10-15T22:11:03.2658973Z
2021-10-15T22:11:03.2659696Z 2. Show you what we are going to install and where. Then we will ask
2021-10-15T22:11:03.2660591Z if you are ready to continue.
2021-10-15T22:11:03.2661011Z
2021-10-15T22:11:03.2661757Z 3. Create the system users and groups that the Nix daemon uses to run
2021-10-15T22:11:03.2662534Z builds.
2021-10-15T22:11:03.2663192Z
2021-10-15T22:11:03.2664082Z 4. Perform the basic installation of the Nix files daemon.
2021-10-15T22:11:03.2664736Z
2021-10-15T22:11:03.2666369Z 5. Configure your shell to import special Nix Profile files, so you
2021-10-15T22:11:03.2667281Z can use Nix.
2021-10-15T22:11:03.2667642Z
2021-10-15T22:11:03.2668139Z 6. Start the Nix daemon.
2021-10-15T22:11:03.2668540Z
2021-10-15T22:11:03.2688937Z Would you like to see a more detailed list of what we will do?
2021-10-15T22:11:03.2691469Z No TTY, assuming you would say yes :)
2021-10-15T22:11:03.2731454Z
2021-10-15T22:11:03.2733365Z We will:
2021-10-15T22:11:03.2734479Z
2021-10-15T22:11:03.2738020Z - make sure your computer doesn't already have Nix files
2021-10-15T22:11:03.2739423Z (if it does, I will tell you how to clean them up.)
2021-10-15T22:11:03.2741130Z - create local users (see the list above for the users we'll make)
2021-10-15T22:11:03.2742745Z - create a local group (nixbld)
2021-10-15T22:11:03.2744010Z - install Nix in to /nix
2021-10-15T22:11:03.2745362Z - create a configuration file in /etc/nix
2021-10-15T22:11:03.2747125Z - set up the "default profile" by creating some Nix-related files in
2021-10-15T22:11:03.2748288Z /root
2021-10-15T22:11:03.2750429Z - back up /etc/bashrc to /etc/bashrc.backup-before-nix
2021-10-15T22:11:03.2752339Z - update /etc/bashrc to include some Nix configuration
2021-10-15T22:11:03.2758881Z - back up /etc/profile.d/nix.sh to /etc/profile.d/nix.sh.backup-before-nix
2021-10-15T22:11:03.2761182Z - update /etc/profile.d/nix.sh to include some Nix configuration
2021-10-15T22:11:03.2771128Z - back up /etc/zshenv to /etc/zshenv.backup-before-nix
2021-10-15T22:11:03.2773045Z - update /etc/zshenv to include some Nix configuration
2021-10-15T22:11:03.2781575Z - back up /etc/bash.bashrc to /etc/bash.bashrc.backup-before-nix
2021-10-15T22:11:03.2783619Z - update /etc/bash.bashrc to include some Nix configuration
2021-10-15T22:11:03.2791332Z - load and start a service (at /etc/systemd/system/nix-daemon.service
2021-10-15T22:11:03.2794332Z and /etc/systemd/system/nix-daemon.socket) for nix-daemon
2021-10-15T22:11:03.2795230Z
2021-10-15T22:11:03.2796428Z Ready to continue?
2021-10-15T22:11:03.2797757Z No TTY, assuming you would say yes :)
2021-10-15T22:11:03.2855286Z
2021-10-15T22:11:03.2858039Z ---- let's talk about sudo -----------------------------------------------------
2021-10-15T22:11:03.2869910Z This script is going to call sudo a lot. Normally, it would show you
2021-10-15T22:11:03.2871945Z exactly what commands it is running and why. However, the script is
2021-10-15T22:11:03.2873966Z run in a headless fashion, like this:
2021-10-15T22:11:03.2875130Z
2021-10-15T22:11:03.2877107Z $ curl -L https://nixos.org/nix/install | sh
2021-10-15T22:11:03.2878514Z
2021-10-15T22:11:03.2880636Z or maybe in a CI pipeline. Because of that, we're going to skip the
2021-10-15T22:11:03.2882810Z verbose output in the interest of brevity.
2021-10-15T22:11:03.2883913Z
2021-10-15T22:11:03.2885140Z If you would like to
2021-10-15T22:11:03.2886513Z see the output, try like this:
2021-10-15T22:11:03.2887879Z
2021-10-15T22:11:03.2889988Z $ curl -L -o install-nix https://nixos.org/nix/install
2021-10-15T22:11:03.2892185Z $ sh ./install-nix
2021-10-15T22:11:03.2894639Z
2021-10-15T22:11:03.2920677Z
2021-10-15T22:11:03.2923305Z ---- Nix config report ---------------------------------------------------------
2021-10-15T22:11:03.2925700Z  Temp Dir: /tmp/tmp.ULINo7sXj6
2021-10-15T22:11:03.2927639Z  Nix Root: /nix
2021-10-15T22:11:03.2929671Z  Build Users: 4
2021-10-15T22:11:03.2930873Z  Build Group ID: 30000
2021-10-15T22:11:03.2932064Z Build Group Name: nixbld
2021-10-15T22:11:03.2932660Z
2021-10-15T22:11:03.2933712Z build users:
2021-10-15T22:11:03.2934832Z  Username: UID
2021-10-15T22:11:03.2949928Z  nixbld1: 30001
2021-10-15T22:11:03.2987419Z  nixbld2: 30002
2021-10-15T22:11:03.3004721Z  nixbld3: 30003
2021-10-15T22:11:03.3014176Z  nixbld4: 30004
2021-10-15T22:11:03.3015293Z
2021-10-15T22:11:03.3016830Z Ready to continue?
2021-10-15T22:11:03.3018573Z No TTY, assuming you would say yes :)
2021-10-15T22:11:03.3023644Z
2021-10-15T22:11:03.3025437Z ~~> Setting up the build group nixbld
2021-10-15T22:11:03.3052378Z  Exists: Yes
2021-10-15T22:11:03.3068391Z
2021-10-15T22:11:03.3070072Z ~~> Setting up the build user nixbld1
2021-10-15T22:11:03.3095755Z  Exists: Yes
2021-10-15T22:11:03.3108804Z  Hidden: Yes
2021-10-15T22:11:03.3126360Z  Home Directory: /var/empty
2021-10-15T22:11:03.3280308Z usermod: no changes
2021-10-15T22:11:03.3307155Z  Note: Nix build user 1
2021-10-15T22:11:03.3353157Z  Logins Disabled: Yes
2021-10-15T22:11:03.3371262Z  Member of nixbld: Yes
2021-10-15T22:11:03.3393133Z  PrimaryGroupID: 30000
2021-10-15T22:11:03.3406644Z
2021-10-15T22:11:03.3408546Z ~~> Setting up the build user nixbld2
2021-10-15T22:11:03.3437112Z  Exists: Yes
2021-10-15T22:11:03.3443972Z  Hidden: Yes
2021-10-15T22:11:03.3462644Z  Home Directory: /var/empty
2021-10-15T22:11:03.3618925Z usermod: no changes
2021-10-15T22:11:03.3651294Z  Note: Nix build user 2
2021-10-15T22:11:03.3751755Z  Logins Disabled: Yes
2021-10-15T22:11:03.3770337Z  Member of nixbld: Yes
2021-10-15T22:11:03.3789009Z  PrimaryGroupID: 30000
2021-10-15T22:11:03.3799497Z
2021-10-15T22:11:03.3813264Z ~~> Setting up the build user nixbld3
2021-10-15T22:11:03.3833666Z  Exists: Yes
2021-10-15T22:11:03.3840022Z  Hidden: Yes
2021-10-15T22:11:03.3857376Z  Home Directory: /var/empty
2021-10-15T22:11:03.4013328Z usermod: no changes
2021-10-15T22:11:03.4055361Z  Note: Nix build user 3
2021-10-15T22:11:03.9519577Z usermod: no changes
2021-10-15T22:11:03.9521334Z  Logins Disabled: Yes
2021-10-15T22:11:03.9564090Z  Member of nixbld: Yes
2021-10-15T22:11:03.9565336Z  PrimaryGroupID: 30000
2021-10-15T22:11:03.9566005Z
2021-10-15T22:11:03.9567159Z ~~> Setting up the build user nixbld4
2021-10-15T22:11:03.9568400Z  Exists: Yes
2021-10-15T22:11:03.9569565Z  Hidden: Yes
2021-10-15T22:11:03.9570728Z  Home Directory: /var/empty
2021-10-15T22:11:03.9572004Z  Note: Nix build user 4
2021-10-15T22:11:03.9573313Z  Logins Disabled: Yes
2021-10-15T22:11:03.9574529Z  Member of nixbld: Yes
2021-10-15T22:11:03.9575772Z  PrimaryGroupID: 30000
2021-10-15T22:11:03.9576547Z
2021-10-15T22:11:03.9577793Z ~~> Setting up the basic directory structure
2021-10-15T22:11:03.9578946Z 
2021-10-15T22:11:03.9579862Z ~~> Installing Nix
2021-10-15T22:11:03.9582134Z  Alright! We have our first nix at /nix/store/3h58xzsg9v76v8xx0lj990na26dxhpfg-nix-2.4pre19700101_323e545
2021-10-15T22:11:03.9762049Z Just finished getting the nix database ready.
2021-10-15T22:11:03.9775541Z
2021-10-15T22:11:03.9778751Z ~~> Setting up shell profiles: /etc/bashrc /etc/profile.d/nix.sh /etc/zshenv /etc/bash.bashrc /etc/zsh/zshenv
2021-10-15T22:11:04.0350219Z 
2021-10-15T22:11:04.0351601Z # Nix
2021-10-15T22:11:04.0359053Z if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
2021-10-15T22:11:04.0361181Z . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
2021-10-15T22:11:04.0363269Z fi
2021-10-15T22:11:04.0364011Z # End Nix
2021-10-15T22:11:04.0364566Z
2021-10-15T22:11:04.0936120Z
2021-10-15T22:11:04.0937725Z # Nix
2021-10-15T22:11:04.0942574Z if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
2021-10-15T22:11:04.0948003Z . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
2021-10-15T22:11:04.0949168Z fi
2021-10-15T22:11:04.0949924Z # End Nix
2021-10-15T22:11:04.0950467Z
2021-10-15T22:11:04.1583149Z
2021-10-15T22:11:04.1585181Z # Nix
2021-10-15T22:11:04.1602271Z if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
2021-10-15T22:11:04.1604666Z . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
2021-10-15T22:11:04.1605823Z fi
2021-10-15T22:11:04.1606468Z # End Nix
2021-10-15T22:11:04.1607243Z
2021-10-15T22:11:04.2145762Z
2021-10-15T22:11:04.2146849Z # Nix
2021-10-15T22:11:04.2149508Z if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
2021-10-15T22:11:04.2170006Z . '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
2021-10-15T22:11:04.2171242Z fi
2021-10-15T22:11:04.2172603Z # End Nix
2021-10-15T22:11:04.2176632Z
2021-10-15T22:11:04.2336422Z
2021-10-15T22:11:04.2338787Z ~~> Setting up the default profile
2021-10-15T22:11:04.2685133Z replacing old 'nix-2.4pre19700101_323e545'
2021-10-15T22:11:04.2686442Z installing 'nix-2.4pre19700101_323e545'
2021-10-15T22:11:04.2968849Z building '/nix/store/l8g0qmjr3xi1qsbg187il4vnrlcg0cjj-user-environment.drv'...
2021-10-15T22:11:04.3892178Z 
2021-10-15T22:11:04.3898449Z ~~> Setting up the nix-daemon systemd service
2021-10-15T22:11:04.5840753Z The unit files have no [Install] section. They are not meant to be enabled
2021-10-15T22:11:04.5842320Z using systemctl.
2021-10-15T22:11:04.5843557Z Possible reasons for having this kind of units are:
2021-10-15T22:11:04.5845857Z 1) A unit may be statically enabled by being symlinked from another unit's
2021-10-15T22:11:04.5847247Z .wants/ or .requires/ directory.
2021-10-15T22:11:04.5848966Z 2) A unit's purpose may be to act as a helper for some other unit which has
2021-10-15T22:11:04.5850274Z a requirement dependency on it.
2021-10-15T22:11:04.5851788Z 3) A unit may be started when needed via activation (socket, path, timer,
2021-10-15T22:11:04.5853623Z D-Bus, udev, scripted systemctl call, ...).
2021-10-15T22:11:04.7990926Z Alright! We're done!
2021-10-15T22:11:04.8163835Z Try it! Open a new terminal, and type:
2021-10-15T22:11:04.8164717Z
2021-10-15T22:11:04.8165978Z $ nix-shell -p nix-info --run "nix-info -m"
2021-10-15T22:11:04.8166654Z
2021-10-15T22:11:04.8167718Z Thank you for using this installer. If you have any feedback or need
2021-10-15T22:11:04.8169259Z help, don't hesitate:
2021-10-15T22:11:04.8169906Z
2021-10-15T22:11:04.8171117Z You can open an issue at https://github.com/nixos/nix/issues
2021-10-15T22:11:04.8172121Z
2021-10-15T22:11:04.8172924Z Or feel free to contact the team:
2021-10-15T22:11:04.8174238Z - Matrix: #nix:nixos.org
2021-10-15T22:11:04.8175573Z - IRC: in #nixos on irc.libera.chat
2021-10-15T22:11:04.8177050Z - twitter: @nixos_org
2021-10-15T22:11:04.8178490Z - forum: https://discourse.nixos.org
2021-10-15T22:11:04.8179469Z
2021-10-15T22:11:04.8181000Z ---- Reminders -----------------------------------------------------------------
2021-10-15T22:11:04.8182408Z [ 1 ]
2021-10-15T22:11:04.8183865Z Nix won't work in active shell sessions until you restart them.
2021-10-15T22:11:04.8184738Z
2021-10-15T22:11:04.9166628Z ##[group]Run nix-build -A packages.x86_64-linux.hello
2021-10-15T22:11:04.9167718Z nix-build -A packages.x86_64-linux.hello
2021-10-15T22:11:04.9192374Z shell: /usr/bin/bash -e {0}
2021-10-15T22:11:04.9192983Z ##[endgroup]
2021-10-15T22:11:05.4261967Z /nix/store/ki4p2xnq8jkrfzzcw5d1r0j94iirhpmr-hello
2021-10-15T22:11:05.4432803Z Post job cleanup.
2021-10-15T22:11:05.5596748Z [command]/usr/bin/git version
2021-10-15T22:11:05.5664423Z git version 2.32.0
2021-10-15T22:11:05.5710673Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2021-10-15T22:11:05.5752374Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2021-10-15T22:11:05.6036300Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2021-10-15T22:11:05.6057001Z http.https://github.com/.extraheader
2021-10-15T22:11:05.6067348Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2021-10-15T22:11:05.6097448Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2021-10-15T22:11:05.6438706Z Cleaning up orphan processes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment