Compare commits

...

5 Commits
v2 ... v3

Author SHA1 Message Date
Ana Hobden 129f079024 Merge pull request #22 from DeterminateSystems/v0.9.0-changes
v0.9.0 - nix profile location change
2023-05-25 09:57:30 -07:00
Ana Hobden 23314a8041 Merge branch 'use-not-fortune' into v0.9.0-changes 2023-05-25 09:32:35 -07:00
Ana Hobden cd77c17f59 Maybe we can use hello 2023-05-25 08:54:25 -07:00
Ana Hobden 10f7447de7 Use ripgrep instead of fortune 2023-05-25 08:53:32 -07:00
Ana Hobden e46eb0b82c v0.9.0 - nix profile location change 2023-05-24 09:46:04 -07:00
2 changed files with 25 additions and 24 deletions
+24 -24
View File
@@ -22,11 +22,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#hello
nix profile install nixpkgs#hello
hello
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#hello
- name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure()
@@ -44,11 +44,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#hello
nix profile install nixpkgs#hello
hello
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#hello
- name: Reinstall Nix
uses: ./
with:
@@ -61,11 +61,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#hello
nix profile install nixpkgs#hello
hello
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#hello
- name: Verify the generated nix.conf
run: |
cat -n /etc/nix/nix.conf
@@ -88,11 +88,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#hello
nix profile install nixpkgs#hello
hello
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#hello
- name: Test bash
run: nix-instantiate -E 'builtins.currentTime' --eval
if: success() || failure()
@@ -114,11 +114,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#hello
nix profile install nixpkgs#hello
hello
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#hello
- name: Reinstall Nix
uses: ./
with:
@@ -131,11 +131,11 @@ jobs:
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
nix run nixpkgs#fortune
nix profile install nixpkgs#fortune
fortune
nix run nixpkgs#hello
nix profile install nixpkgs#hello
hello
nix store gc
nix run nixpkgs#fortune
nix run nixpkgs#hello
- name: Verify the generated nix.conf
run: |
cat -n /etc/nix/nix.conf
+1
View File
@@ -119,6 +119,7 @@ runs:
fi
echo "Nix was already installed, using existing install"
echo "/nix/var/nix/profiles/default/bin" >> $GITHUB_PATH
echo "$HOME/.nix-profile/bin" >> $GITHUB_PATH
exit 0
fi
fi