Skip to content

[scripts] ,bm: add leading 0 for single digit counts #82

[scripts] ,bm: add leading 0 for single digit counts

[scripts] ,bm: add leading 0 for single digit counts #82

Workflow file for this run

name: Build home using nix
on:
workflow_dispatch:
pull_request:
push:
branches: [ "*" ]
concurrency:
group: home-build-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Nix build
runs-on: ${{ matrix.job.os }}
strategy:
fail-fast: false
matrix:
job: [ { os: ubuntu-latest } ] # { os: macos-latest } takes ages to build
steps:
- uses: actions/checkout@v2
- name: "Get nixpkgs"
id: pinned_nixpkgs
run: echo "::set-output name=url::https://github.com/NixOS/nixpkgs/archive/master.tar.gz"
- name: "Install Nix"
uses: cachix/install-nix-action@v13
with:
nix_path: "nixpkgs=${{ steps.pinned_nixpkgs.outputs.url }}"
- name: "Build home"
run: |
export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH
mkdir -p ~/.config/nix
echo 'experimental-features = nix-command flakes' > ~/.config/nix/nix.conf
cd home-manager/.config/home-manager/
sed -i 's|path:/home/meain/dev/src/nur-packages|github:meain/nur-packages|' flake.nix
nix build .#homeConfigurations.meain.activationPackage