Skip to content

Commit

Permalink
fix flake reference in cache wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
tek committed Jul 29, 2023
1 parent 0a50cf1 commit f4fda2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/with-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ let
cacheWrapper = self: name: app: pkgs.writeScript name ''
${config.pkgs.nix}/bin/nix --option extra-substituters 'https://tek.cachix.org' \
--option extra-trusted-public-keys 'tek.cachix.org-1:+sdc73WFq8aEKnrVv5j/kuhmnW2hQJuqdPJF5SnaCBk=' \
run ${self}:${app} -- $@
run ${self}#${app} -- $@
'';

envSystemAllowed = env:
Expand Down
2 changes: 1 addition & 1 deletion test/auto-5/test.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
target='[ "ghc810-root" "ghc90-root" "ghc92-root" "ghc94-root" "root" ]'
check 'nix eval .#checks.x86_64-linux --apply builtins.attrNames' $target 'Checks are wrong'
target='[ "default" "ghc810-root" "ghc90-root" "ghc92-root" "ghc94-root" "min" "root" ]'
target='[ "default" "ghc810-root" "ghc90-root" "ghc92-root" "ghc94-root" "min" "root" "static" ]'
check 'nix eval .#packages.x86_64-linux --apply builtins.attrNames' $target 'Packages are wrong'
check 'nix develop .#ghc94 -c ghc --version' 'The Glorious Glasgow Haskell Compilation System, version 9.4.5'
Expand Down

0 comments on commit f4fda2f

Please sign in to comment.