Skip to content

Commit

Permalink
fix: remove named devShell dummy test
Browse files Browse the repository at this point in the history
The feature didn't work nor was clear
  • Loading branch information
luchiniatwork authored and workflow committed Jul 26, 2023
1 parent b2b8e9b commit f800c24
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,6 @@ jobs:
script: |
pwd
figlet "I'm from the devshell, baby."
- name: Test Bash Shell with Local Flake (named devShell)
uses: ./
with:
flakes: .#named-shell
flakes-from-devshell: true
script: |
pwd
figlet "I'm from the devshell name 'named-shell', baby."
test-flakes-from-devshell-in-working-directory:
runs-on: ubuntu-latest
Expand Down
4 changes: 1 addition & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@

packages.x86_64-linux.default = self.packages.x86_64-linux.hello;

devShells.x86_64-linux.named-shell = nixpkgs.legacyPackages.x86_64-linux.mkShell {
devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell {
buildInputs = [ nixpkgs.legacyPackages.x86_64-linux.figlet ];
};

devShells.x86_64-linux.default = self.devShells.x86_64-linux.named-shell;

};
}
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function run(): void {
.join(' ')

const flakeWrappedPackages = flakesFromDevshell
? ''
? flakes
: flakes.split(',').join(' ') ||
packages
.split(',')
Expand Down

0 comments on commit f800c24

Please sign in to comment.